Thanks a lot, Kihwal. So some code in the ViewFileSystem analysis the client request and transfer the request to the correct namenode, correct? Can you point out in particular which function do this? Thanks.
On Thu, Apr 28, 2016 at 10:57 AM, Kihwal Lee <kih...@yahoo-inc.com.invalid> wrote: > Kun, > > (1) The client-facing counter part of federation is ViewFileSystem, aka > client side mount table.(2) Federation is supported in 2.7. There are test > cases bringing up federated mini cluster, so I assume setting up a pseudo > distributed cluster is possible. I am not sure whether all support scripts > will work as is. > 73,Kihwal > > > From: Kun Ren <ren.h...@gmail.com> > To: hdfs-dev@hadoop.apache.org > Sent: Wednesday, April 27, 2016 7:29 PM > Subject: HDFS Federation > > Hi Genius, > > I have two questions about the HDFS Federation: > (1) Since there are multiple namenodes, there should be some code that > analysis the client request and transfer the request to the appropriate > namenode, could you please point to me where I can find the related code? > > (2) .Also just confirm that the Hadoop 2.7.2 support HDFS Federation, but > in default there is only 1 namenode, is this correct? Meanwhile, do you > think it is possible to configure the HDFS Fderation in the pseudo > distributed mode in one node? > > Thanks so much in advance. > > Best, > Kun Ren > > > >