Yes, in Apache Hadoop 2.x versions, you may do "hadoop fs -put -f
<source> <dest>" to perform direct overwrites. The -f option is not
available under your Apache Hadoop 1.x version presently, and you'll
need to -rm the file.

On Thu, Apr 4, 2013 at 2:43 PM, Iftakhul Anwar <an...@meruvian.org> wrote:
> Hi Rahul,
>
> Thanks for reply.
> I'm newbie, how i can patch my Hadoop installation so it's provide overwrite
> / force option ?
>
>
> On Thu, Apr 4, 2013 at 4:03 PM, Rahul Bhattacharjee
> <rahul.rec....@gmail.com> wrote:
>>
>> https://issues.apache.org/jira/browse/HADOOP-7361
>>
>> Thanks,
>> Rahul
>>
>>
>> On Thu, Apr 4, 2013 at 2:30 PM, Iftakhul Anwar <an...@meruvian.org> wrote:
>>>
>>> Hi All,
>>>
>>> I just installed Hadoop on my local Machine.I use hadop 1.0.3
>>>
>>> I just wan to ask how i can replace or overwrite file in HDFS using "put"
>>> or "copyFromLocal" command ?
>>>
>>> I can't find it on documentation,
>>>
>>> Help me to solve this,
>>>
>>> Thanks
>>>
>>> --
>>> M.Iftakhul Anwar
>>> Meruvian Integrator
>>> High Performance Computing / Cloud Computing (HPC/CC)
>>>
>>>
>>> Office Phone  : 021-93586577
>>> Mobile Phone : 085215331477
>>> Blog               :  http://blog.mervpolis.com/roller/anwar
>>> FB                 :  http://www.facebook.com/troya.adromeda
>>> Website         : www.meruvian.org
>>>
>>
>
>
>
> --
> M.Iftakhul Anwar
> Meruvian Integrator
> High Performance Computing / Cloud Computing (HPC/CC)
>
>
> Office Phone  : 021-93586577
> Mobile Phone : 085215331477
> Blog               :  http://blog.mervpolis.com/roller/anwar
> FB                 :  http://www.facebook.com/troya.adromeda
> Website         : www.meruvian.org
>



-- 
Harsh J

Reply via email to