hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From unmesha sreeveni <unmeshab...@gmail.com>
Subject Re: hadoop directory can't add and remove
Date Wed, 02 Jul 2014 06:38:16 GMT
http://www.unmeshasreeveni.blogspot.in/2014/04/name-node-is-in-safe-mode-how-to-leave.html


hadoop fs -rm r QuasiMonteCarlo_1404262305436_855154103



On Wed, Jul 2, 2014 at 11:56 AM, EdwardKing <zhangsc@neusoft.com> wrote:

>  I want to remove hadoop directory,so I use hadoop fs -rmr,but it can't
> remove,why?
>
> [hdfs@localhost hadoop-2.2.0]$ hadoop fs -ls
> Found 2 items
> drwxr-xr-x   - hdfs supergroup          0 2014-07-01 17:52
> QuasiMonteCarlo_1404262305436_855154103
> drwxr-xr-x   - hdfs supergroup          0 2014-07-01 18:17
> QuasiMonteCarlo_1404263830233_477013424
>
> [hdfs@localhost hadoop-2.2.0]$ hadoop fs -rmr *.*
> rmr: DEPRECATED: Please use 'rm -r' instead.
> rmr: `LICENSE.txt': No such file or directory
> rmr: `NOTICE.txt': No such file or directory
> rmr: `README.txt': No such file or directory
>
> [hdfs@localhost hadoop-2.2.0]$ hadoop fs -la
> Found 2 items
> drwxr-xr-x   - hdfs supergroup          0 2014-07-01 17:52
> QuasiMonteCarlo_1404262305436_855154103
> drwxr-xr-x   - hdfs supergroup          0 2014-07-01 18:17
> QuasiMonteCarlo_1404263830233_477013424
>
> And I try mkdir a directory,but I still fail
> [hdfs@localhost hadoop-2.2.0]$ hadoop fs -mkdir abc
> mkdir: Cannot create directory /user/hdfs/abc. Name node is in safe mode.
>
> How can I do it?  Thanks.
>
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
> ---------------------------------------------------------------------------------------------------
>



-- 
*Thanks & Regards *


*Unmesha Sreeveni U.B*
*Hadoop, Bigdata Developer*
*Center for Cyber Security | Amrita Vishwa Vidyapeetham*
http://www.unmeshasreeveni.blogspot.in/

Mime
View raw message