format声明hadoop namenode时出错

fv2wmkja  于 2021-06-02  发布在  Hadoop
关注(0)|答案(0)|浏览(165)

执行此命令启动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.

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题