File name patterns
One in operation files collection again work very wide spread out is a task . For example , the work of MapReduce one how many in the catalogs saved one monthly journal files analysis to do can _ Each _ file and each one directory repetition instead of , one in the statement one how many files describe from the meta- characters for use comfortable _ Hadoop two FileSystem methods present is enough file name patterns manage for .
Control questions :
1. Signal types relatively line when transparent will be
2. Transparent connection what _
3. Network into segments to be for what used ?
4. Network traffic how reduce can _
5. Network manage opportunity define and network of management main functions counting go through
PRACTICAL EXERCISE UNIT-11
Topic : Using Filesystem API information reading _
Work Purpose : Generalized API learning file system .
Previous in the department telling as in the past , sometimes setURLStream - Call to HandlerFactory to do opportunity there is in the app possible not _ Such without , you File from the system using file for access flow you open need _
Hadoop file in the system file is a Hadoop object with represented by Hadoop Path ( java.io File because of the other semantics local file system with very closely linked ). Road object as a URI to look can Hadoop file in the system ( eg hdfs : //localhost/user/tom/quangle.txt )
FileSystem is a common API file system , therefore for the first step we want to use has been file system sample is to get - our HDFS in our case . FileSystem sample get for one how many static factory methods there is
Configuration in the object configuration in the files defined customer or server configuration encapsulates ( eg conf / core - site . xml ) . First method standard file system returns ( conf / core - site.xml in the file shown or not installed if , local standard file system ). Second method of the given URI scheme and authority file system determines ; if the circuit in the URI if not specified , default file system is used . Third method file system object given user on behalf takes , this safety in the context of important important have _
Do'stlaringiz bilan baham: |