Oh wait a sec, you may be right.
Rename may not exactly work as move, worth a shot. Excuse me.

On Thu, Oct 21, 2010 at 12:41 PM, Shrijeet Paliwal
<[email protected]>wrote:

> rename : 
> http://hadoop.apache.org/hdfs/docs/current/api/org/apache/hadoop/hdfs/protocol/ClientProtocol.html#rename(java.lang.String,
> java.lang.String, 
> org.apache.hadoop.fs.Options.Rename...)<http://hadoop.apache.org/hdfs/docs/current/api/org/apache/hadoop/hdfs/protocol/ClientProtocol.html#rename(java.lang.String,+java.lang.String,+org.apache.hadoop.fs.Options.Rename...)>
>
>
> On Thu, Oct 21, 2010 at 12:27 PM, rakesh kothari <[email protected]
> > wrote:
>
>>  Hi,
>>
>> Is "move" not supported in Hdfs ? I can't find any API for that. Looking
>> at the source code for hadoop CLI it seems like it's implementing move by
>> copying data from src to dest and deleting the src. This could be a time
>> consuming operation.
>>
>>
>>
>> Thanks,
>> -Rakesh
>>
>
>

Reply via email to