java - hdfs command is deprecated in hadoop -
as following below procedure:
while executing command c:/hadoop-2.3.0/bin/hadoop namenode -format
, got error message given below
**deprecated:use of script execute hdfs command deprecated. instead use hdfs command it. exception in thread "main" java.lang.noclassdeffounterror**
i using jdk-6-windows-amd64.exe.
how solve issue ?
use cmd c:/hadoop-2.3.0/bin/hdfs replace c:/hadoop-2.3.0/bin/hadoop
a lot of hdfs cmds recommended run bin/hdfs not bin/hadoop
Comments
Post a Comment