Reputation: 29
I am following this procedure (YouTube link).
While executing the command c:/hadoop-2.3.0/bin/hadoop namenode -format
, I got the error message given below
**DEPRECATED:Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
Exception in thread "main" java.lang.NoClassDefFountError**
I am using jdk-6-windows-amd64.exe.
How to solve this issue?
Upvotes: 0
Views: 7706
Reputation: 2223
use the cmd c:/hadoop-2.3.0/bin/hdfs to replace c:/hadoop-2.3.0/bin/hadoop
A lot of hdfs cmds are recommended to run with bin/hdfs not bin/hadoop
Upvotes: 1