在Windows中为命令hadoop namenode -format声明hadoop namenode时出错

时间:2016-02-27 02:09:49

标签: windows hadoop installation hdfs dfs

执行此命令以启动namenode时出错。

c:\hadoop-2.3.0\bin>hadoop namenode -format DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
Exception in thread "main" java.lang.NoClassDefFoundError: V Caused by: java.lang.ClassNotFoundException: V at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Could not find the main class: V. Program will exit.

0 个答案:

没有答案