You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by EdwardKing <zh...@neusoft.com> on 2014/04/08 10:26:47 UTC

hadoop rack command

I want to look at the default rack configuration,so I use following command like books says:

[hadoop@master sbin]$ hadoop fsck -rack
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

14/04/08 01:22:56 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Connecting to namenode via http://master:9002
fsck: Illegal option '-rack'

Why raise above error?  My Hadoop version is 2.2.0. By the way,how to get rid of the WARN Information?
14/04/08 01:22:56 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

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 rack command

Posted by Mingjiang Shi <ms...@gopivotal.com>.
On Tue, Apr 8, 2014 at 4:26 PM, EdwardKing <zh...@neusoft.com> wrote:

> hadoop fsck -rack


You gave invalid command argument to the fsck command. The correct command
is "hadoop fsck / -racks"
Run command "hadoop fsck" to see the full help message.

-- 
Cheers
-MJ

Re: hadoop rack command

Posted by Mingjiang Shi <ms...@gopivotal.com>.
On Tue, Apr 8, 2014 at 4:26 PM, EdwardKing <zh...@neusoft.com> wrote:

> hadoop fsck -rack


You gave invalid command argument to the fsck command. The correct command
is "hadoop fsck / -racks"
Run command "hadoop fsck" to see the full help message.

-- 
Cheers
-MJ

Re: hadoop rack command

Posted by Mingjiang Shi <ms...@gopivotal.com>.
On Tue, Apr 8, 2014 at 4:26 PM, EdwardKing <zh...@neusoft.com> wrote:

> hadoop fsck -rack


You gave invalid command argument to the fsck command. The correct command
is "hadoop fsck / -racks"
Run command "hadoop fsck" to see the full help message.

-- 
Cheers
-MJ

Re: hadoop rack command

Posted by Mingjiang Shi <ms...@gopivotal.com>.
On Tue, Apr 8, 2014 at 4:26 PM, EdwardKing <zh...@neusoft.com> wrote:

> hadoop fsck -rack


You gave invalid command argument to the fsck command. The correct command
is "hadoop fsck / -racks"
Run command "hadoop fsck" to see the full help message.

-- 
Cheers
-MJ