You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by EdwardKing <zh...@neusoft.com> on 2014/07/02 08:26:33 UTC
hadoop directory can't add and remove
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.
---------------------------------------------------------------------------------------------------
Re: hadoop directory can't add and remove
Posted by Chris Mawata <ch...@gmail.com>.
Also, investigate why it is happening. Usually it is a block replication
issue like a replication factor greater than the number of DataNodes.
Chris
On Jul 2, 2014 9:32 AM, "hadoop hive" <ha...@gmail.com> wrote:
> Use Hadoop dfsadmin -safemode leave
>
> Then you can delete
> On Jul 2, 2014 6:37 PM, "Chris Mawata" <ch...@gmail.com> wrote:
>
>> The NameNode is in safe mode so it is read only.
>> On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>>>
>>> ---------------------------------------------------------------------------------------------------
>>>
>>
Re: hadoop directory can't add and remove
Posted by Chris Mawata <ch...@gmail.com>.
Also, investigate why it is happening. Usually it is a block replication
issue like a replication factor greater than the number of DataNodes.
Chris
On Jul 2, 2014 9:32 AM, "hadoop hive" <ha...@gmail.com> wrote:
> Use Hadoop dfsadmin -safemode leave
>
> Then you can delete
> On Jul 2, 2014 6:37 PM, "Chris Mawata" <ch...@gmail.com> wrote:
>
>> The NameNode is in safe mode so it is read only.
>> On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>>>
>>> ---------------------------------------------------------------------------------------------------
>>>
>>
Re: hadoop directory can't add and remove
Posted by Chris Mawata <ch...@gmail.com>.
Also, investigate why it is happening. Usually it is a block replication
issue like a replication factor greater than the number of DataNodes.
Chris
On Jul 2, 2014 9:32 AM, "hadoop hive" <ha...@gmail.com> wrote:
> Use Hadoop dfsadmin -safemode leave
>
> Then you can delete
> On Jul 2, 2014 6:37 PM, "Chris Mawata" <ch...@gmail.com> wrote:
>
>> The NameNode is in safe mode so it is read only.
>> On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>>>
>>> ---------------------------------------------------------------------------------------------------
>>>
>>
Re: hadoop directory can't add and remove
Posted by Chris Mawata <ch...@gmail.com>.
Also, investigate why it is happening. Usually it is a block replication
issue like a replication factor greater than the number of DataNodes.
Chris
On Jul 2, 2014 9:32 AM, "hadoop hive" <ha...@gmail.com> wrote:
> Use Hadoop dfsadmin -safemode leave
>
> Then you can delete
> On Jul 2, 2014 6:37 PM, "Chris Mawata" <ch...@gmail.com> wrote:
>
>> The NameNode is in safe mode so it is read only.
>> On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>>>
>>> ---------------------------------------------------------------------------------------------------
>>>
>>
Re: hadoop directory can't add and remove
Posted by hadoop hive <ha...@gmail.com>.
Use Hadoop dfsadmin -safemode leave
Then you can delete
On Jul 2, 2014 6:37 PM, "Chris Mawata" <ch...@gmail.com> wrote:
> The NameNode is in safe mode so it is read only.
> On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>>
>> ---------------------------------------------------------------------------------------------------
>>
>
Re: hadoop directory can't add and remove
Posted by hadoop hive <ha...@gmail.com>.
Use Hadoop dfsadmin -safemode leave
Then you can delete
On Jul 2, 2014 6:37 PM, "Chris Mawata" <ch...@gmail.com> wrote:
> The NameNode is in safe mode so it is read only.
> On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>>
>> ---------------------------------------------------------------------------------------------------
>>
>
Re: hadoop directory can't add and remove
Posted by hadoop hive <ha...@gmail.com>.
Use Hadoop dfsadmin -safemode leave
Then you can delete
On Jul 2, 2014 6:37 PM, "Chris Mawata" <ch...@gmail.com> wrote:
> The NameNode is in safe mode so it is read only.
> On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>>
>> ---------------------------------------------------------------------------------------------------
>>
>
Re: hadoop directory can't add and remove
Posted by hadoop hive <ha...@gmail.com>.
Use Hadoop dfsadmin -safemode leave
Then you can delete
On Jul 2, 2014 6:37 PM, "Chris Mawata" <ch...@gmail.com> wrote:
> The NameNode is in safe mode so it is read only.
> On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>>
>> ---------------------------------------------------------------------------------------------------
>>
>
Re: hadoop directory can't add and remove
Posted by Chris Mawata <ch...@gmail.com>.
The NameNode is in safe mode so it is read only.
On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>
> ---------------------------------------------------------------------------------------------------
>
Re: hadoop directory can't add and remove
Posted by unmesha sreeveni <un...@gmail.com>.
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 <zh...@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/
Re: hadoop directory can't add and remove
Posted by unmesha sreeveni <un...@gmail.com>.
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 <zh...@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/
Re: hadoop directory can't add and remove
Posted by Chris Mawata <ch...@gmail.com>.
The NameNode is in safe mode so it is read only.
On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>
> ---------------------------------------------------------------------------------------------------
>
Re: hadoop directory can't add and remove
Posted by Chris Mawata <ch...@gmail.com>.
The NameNode is in safe mode so it is read only.
On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>
> ---------------------------------------------------------------------------------------------------
>
Re: hadoop directory can't add and remove
Posted by Chris Mawata <ch...@gmail.com>.
The NameNode is in safe mode so it is read only.
On Jul 2, 2014 2:28 AM, "EdwardKing" <zh...@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.
>
> ---------------------------------------------------------------------------------------------------
>
Re: hadoop directory can't add and remove
Posted by unmesha sreeveni <un...@gmail.com>.
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 <zh...@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/
Re: hadoop directory can't add and remove
Posted by unmesha sreeveni <un...@gmail.com>.
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 <zh...@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/