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. 
---------------------------------------------------------------------------------------------------

Reply via email to