So, hadoop dfs -cp hdfs://.... hdfs://...
this will work. On Fri, May 11, 2012 at 4:14 PM, Rajesh Sai T <tsairaj...@gmail.com> wrote: > Looks like both are private subnets, so you got to route via a public > default gateway. Try adding route using route command if your in > linux(windows i have no idea). Just a thought i havent tried it though. > > Thanks, > Rajesh > > Typed from mobile, please bear with typos. > On May 11, 2012 10:03 AM, "Arindam Choudhury" <arindamchoudhu...@gmail.com > > > wrote: > > > I can not cross access HDFS. Though HDFS2 has two NIC the HDFS is running > > on the other subnet. > > > > On Fri, May 11, 2012 at 3:57 PM, Shi Yu <sh...@uchicago.edu> wrote: > > > > > If you could cross-access HDFS from both name nodes, then it should be > > > transferable using /distcp /command. > > > > > > Shi * > > > * > > > > > > On 5/11/2012 8:45 AM, Arindam Choudhury wrote: > > > > > >> Hi, > > >> > > >> I have a question to the hadoop experts: > > >> > > >> I have two HDFS, in different subnet. > > >> > > >> HDFS1 : 192.168.*.* > > >> HDFS2: 10.10.*.* > > >> > > >> the namenode of HDFS2 has two NIC. One connected to 192.168.*.* and > > >> another > > >> to 10.10.*.*. > > >> > > >> So, is it possible to transfer data from HDFS1 to HDFS2 and vice > versa. > > >> > > >> Regards, > > >> Arindam > > >> > > >> > > > > > >