HDFS Java API
Starting Point
There are two important Java classes which are the starting point for using the Java API.
Upto Hadoop Version 1.x
org.apache.hadoop.fs.FileSystem
Hadoop Version 2.x and later
org.apache.hadoop.fs.FileContext
FileContext class has better handling of multiple fileystems (A single FileContext