concept hdfs in category hadoop
appears as: HDFS, hdfs

This is an excerpt from Manning's book Hadoop in Practice, Second Edition.
Federation allows HDFS metadata to be shared across multiple NameNode hosts, which aides with HDFS scalability and also provides data isolation, allowing different applications or teams to run their own NameNodes without fear of impacting other NameNodes on the same cluster.
Table 5.4. URI schemes and their related Hadoop filesystem implementations
Details
hdfs Provides native access to Hadoop’s own HDFS. The only downside is that backward and forward compatibility aren’t supported. file Used to read and write from the local filesystem. hftp and hsftp A legacy, read-only view on top of HDFS that emphasized API compatibility to support any version of Hadoop. It was the old-school way of copying data between clusters running different versions of Hadoop. hsftp provides an implementation that uses HTTPS for transport for added security. webhdfs Can be used with both WebHDFS (see technique 34) if your client has access to the Hadoop cluster, and the HttpFS gateway (see technique 35) for accessing HDFS from behind a firewall. This is the replacement for the read-only hftp implementation. It supports a read and write interface to HDFS. In addition, this filesystem can be used to read and write between different versions of Hadoop. ftp Uses FTP as the storage implementation. s3 and s3n Provides access to Amazon’s S3 filesystem. s3n provides native access to S3, whereas the s3 scheme stores data in a block-based manner to work around S3’s maximum file-size constraints.
<beans ...> <context:property-placeholder location="hadoop.properties" system-properties-mode="OVERRIDE"/> <yarn:configuration> fs.defaultFS=${hd.fs} yarn.resourcemanager.address=${hd.rm} fs.hdfs.impl=org.apache.hadoop.hdfs.DistributedFileSystem </yarn:configuration> <yarn:localresources> <yarn:hdfs path="/app/simple-command/*.jar"/> <yarn:hdfs path="/lib/*.jar"/> </yarn:localresources> <yarn:environment> <yarn:classpath use-yarn-app-classpath="true"/> </yarn:environment> <util:properties id="arguments"> <prop key="container-count">4</prop> </util:properties> <yarn:client app-name="simple-command"> <yarn:master-runner arguments="arguments"/> </yarn:client> </beans>