You should use hadoop fs command OR hdfs dfs command to check

Usage: hadoop fs [generic options] -du [-s] [-h] <path> ...

OR

Usage: hdfs dfs -du [-s] [-h] <path> ...





Regards

KASHIF



-----Original Message-----
From: Vimal Jain [mailto:[email protected]]
Sent: 12 March 2014 11:31
To: [email protected]; [email protected]
Subject: Size of data directory same on all nodes in cluster



Hi,

I have setup 2 node Hbase cluster on top of 2 node HDFS cluster.

When i perform "du -sh" command on data directory ( where hadoop stores data ) 
on both machines , its shows the same size.

As per my understanding , of entire data half of the data is stored in one 
machine and other half on other machine.

Please help.



--

Thanks and Regards,

Vimal Jain

Reply via email to