And one of the good things about open-source projects like Hadoop, you can read all about why :-) : https://issues.apache.org/jira/browse/HADOOP-4952
Enjoy! Ravi On Mon, Oct 30, 2017 at 11:54 AM, Ravi Prakash <ravihad...@gmail.com> wrote: > Hi Doris! > > FileContext was created to overcome some of the limitations that we > learned FileSystem had after a lot of experience. Unfortunately, a lot of > code (i'm guessing maybe even the majority) still uses FileSystem. > > I suspect FileContext is probably the interface you want to use. > > HTH, > Ravi > > On Fri, Oct 27, 2017 at 8:14 AM, <gu.yiz...@zte.com.cn> wrote: > >> Hi All, >> As an application over hadoop, is it recommended to use >> "org.apache.hadoop.fs >> Class FileContext" rather then "org.apache.hadoop.fs Class FileSystem"? >> And why, or why not? >> Besides, my target version will be Apache Hadoop V2.7.3, and the >> application will be running over both HDFS HA and >> Federation, I wish my application code could be more flexible. >> Thanks a lot! >> Doris >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@hadoop.apache.org >> For additional commands, e-mail: user-h...@hadoop.apache.org >> > >