see this discussion
http://search-hadoop.com/m/Hxigg2WeEQu/decommissioning+datanodes+&subj=decommissioning+datanodes
On Tue, Jun 12, 2012 at 8:42 PM, varun kumar wrote:
> Hi All,
>
> I want to remove nodes from my cluster *gracefully*. I added the
> following lines to my hdfs-site.xml
>
>
>
>
DFSInputStream.available();
2012/6/13 Mohammad Tariq
> Hello list,
>
>Is it possible to find the end of a file stored in hdfs using the
> hdfs API??currently I am comparing FSDataInputStream.getPos() with
> FileSystem.getFileStatus().getLen() to serve the purpose..Thank you
>
> Regards,
>
Hello list,
Is it possible to find the end of a file stored in hdfs using the
hdfs API??currently I am comparing FSDataInputStream.getPos() with
FileSystem.getFileStatus().getLen() to serve the purpose..Thank you
Regards,
Mohammad Tariq
Hi All,
I want to remove nodes from my cluster *gracefully*. I added the following
lines to my hdfs-site.xml
dfs.hosts.exclude
/opt/hadoop/conf/exclude
In exclude file i have mentioned the hostname of the datanode.
Then I run 'hadoop dfsadmin -refreshNodes'
On the web interface the