java - hdfs command is deprecated in hadoop -


as following below procedure:

http://www.codeproject.com/articles/757934/apache-hadoop-for-windows-platform https://www.youtube.com/watch?v=vhxwig96dme.

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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -