Re: decommissioning datanodes

2012-06-12 Thread madhu phatak
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 > > > >

Re: How to find EOF

2012-06-12 Thread Denny Ye
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, >

How to find EOF

2012-06-12 Thread 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,     Mohammad Tariq

decommissioning datanodes

2012-06-12 Thread varun kumar
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