You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Mapred Learn <ma...@gmail.com> on 2011/03/10 00:44:39 UTC
rename() removed from FileSystem.java but not FsShell.java
Hi,
I was trying to use rename() in FileSystem.java to mv files through my java
code but found that it has been deprecated from FileSystem.java but not
FsShell.java.
Is there a particular reason for this ?
Should I use FsShell.java's rename() instead or avoid it all together
and implement "fs -mv" using RunTime instead (I was trying to avoid this to
handle the stderr and out manually) ?
Thanks,
-JJ