noclassdeffounderror:org/apache/hadoop/hdfs/server/namenode/namenode

bmp9r5qi  于 2021-06-04  发布在  Hadoop
关注(0)|答案(0)|浏览(254)

在我的shell中,我这样做,但得到的结果如下。
24king@24king-pc /usr/local/hadoop
$sh-x bin/hdfs namenode-格式
其中bin/hdfs+bin=/usr/local/hadoop/bin/hdfsdirname/usr/local/hadoop/bin/hdfs+bin=/usr/local/hadoop/bincd/usr/local/hadoop/binpwd+bin=/usr/local/hadoop/bin+default\libexec\u dir=/usr/local/hadoop/bin/。/libexec+hadoop\u dir=/usr/local/hadoop/bin/。/libexec+/usr/local/hadoop/bin/。/libexec/hdfs-config.sh+哪个bin/hdfsbin=/usr/local/hadoop/bin/hdfs+dirname/usr/local/hadoop/bin/hdfsbin=/usr/local/hadoop/bin+cd/usr/local/hadoop/bin+pwdbin=/usr/local/hadoop/bin默认\u libexec\u dir=/usr/local/hadoop/bin/。/libexechadoop\u libexec\u dir=/usr/local/hadoop/bin/。/libexec'['-e/usr/local/hadoop/bin/./libexec/hadoop-config.sh']'/usr/local/hadoop/bin/。/libexec/hadoop-config.sh+this=/usr/local/hadoop/bin/。/libexec/hadoop-config.sh+dirname--/usr/local/hadoop/bin/。/libexec/hadoop-config.sh+cd-p--/usr/local/hadoop/bin/。/libexec+pwd-p+common\u bin=/usr/local/hadoop/libexec+basename--/usr/local/hadoop/bin/。/libexec/hadoop-config.sh+script=hadoop-config.sh+this=/usr/local/hadoop/libexec/hadoop-config.sh'['-f/usr/local/hadoop/libexec/hadoop-layout.sh']'+hadoop\u common\u dir=share/hadoop/common+hadoop\u common\u lib\u jars\u dir=share/hadoop/common/lib+hadoop\u common\u lib\u native\u dir=lib/native+hdfs\u dir=share/hadoop/hdfs+hdfs\u jars\u dir=share/hadoop/hdfs/lib+yarn_dir=share/hadoop/yarn+yarn_lib_jars_dir=share/hadoop/yarn/lib+mapred_dir=share/hadoop/mapreduce+mapred_lib_jars_dir=share/hadoop/mapreduce/lib+cd-p--/usr/local/hadoop/libexec/.+pwd-p+hadoop\u default\u prefix=/usr/local/hadoop+hadoop\u prefix=/usr/local/hadoop+export hadoop\u prefix++'['2-gt 1']'+'['--config=namenode']''['-e/usr/local/hadoop/conf/hadoop-env.sh']'+default\u conf\u dir=etc/hadoop+export hadoop\u conf dir=/usr/local/hadoop/etc/hadoop+hadoop\u conf\u dir=/usr/local/hadoop/etc/hadoop[''!='']]'['2-gt 1“]''['--hosts=namenode”]''['--hostnames=namenode”]'['['''!='']'['”-f/usr/local/hadoop/etc/hadoop/hadoop-env.sh']'/usr/local/hadoop/etc/hadoop/hadoop-env.sh+export java\u home=/usr/local/jdk1.6.0\u 45+java\u home=/usr/local/jdk1.6.0\u 45+export hadoop\u conf\u dir=/usr/local/hadoop/etc/hadoop+hadoop\u conf\u dir=/usr/local/hadoop/etc/hadoop+for f in'$hadoop\u home/contrib/capacity scheduler/.jar'+'['''''']'+export'hadoop\u classpath=/contrib/capacity scheduler/.jar'+hadoop\u classpath='/contrib/capacity scheduler/.jar'+export'hadoop\u opts=-djava.net.preferipv4stack=true'+hadoop\u opts='-djava.net.preferipv4stack=true'+export'hadoop\u namenode\u opts=-dhadoop.security.logger=info,rfas-dhdfs.audit.logger=info,nullappender'+hadoop\u namenode\u opts='-dhadoop.security.logger=info,rfas-dhdfs.audit.logger=info,nullappender'+export'hadoop\u datanode\u opts=-dhadoop.security.logger=error,rfas'+hadoop\u datanode\u opts='-dhadoop.security.logger=error,rfas'+export'hadoop\u secondarynamenode\u opts=-dhadoop.security.logger=info,rfas-dhdfs.audit.logger=info,nullappender'+hadoop\u secondarynamenode\u opts='-dhadoop.security.logger=info,rfas-dhdfs.audit.logger=info,出口hadoop\U ffffs3\u Opt=+Hadooop\U fs3\u Opt=+出口Hadooop\n ffffffs3\u fffs3\u Opt=+Hadooop\u ffs3\u Opt t t t t t t t t出口+出口‘Hadodoop.安全.中国中国.安全的.安全的中国.安全的中国..安全的U U U U U形形形形图...根据根据根据根据目前的XXXXXXX5112M马歇尔hadoop\u secure\u dn\u log\u dir=/+export hadoop\u pid\u dir=+hadoop\u pid\u dir=+export hadoop\u secure\u dn\u pid\u dir=+hadoop\u secure\u dn\u pid\u dir=+export hadoop\u ident\u string=24king+hadoop\u ident\u string=24king+export hadoop\u prefix=/usr/local/hadoop+hadoop\u prefix=/usr/local/hadoop+export hadoop\u common\u home=/usr/local/hadoophadoop\u common\u home=/usr/local/hadoop/sbin/sysctl-n net.ipv6.bindv6only+bindv6only='['-n''']'+export malloc\u arena\u max=4+malloc arena\u max=4++[-z/usr/local/jdk1.6.0\u 45]]+java=/usr/local/jdk1.6.0\u 45/bin/java+java\u heap\u max=-xmx1000++'['!=''''classpath=/usr/local/hadoop/etc/hadoop+ifs='['/usr/local/hadoop='']''['-d/usr/local/hadoop/share/hadoop/common/webapps']''['-d/usr/local/hadoop/share/hadoop/common/lib']'+classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/'+classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/:/usr/local/hadoop/share/hadoop/common/''[''=''']'+hadoop\u log\u dir=/usr/local/hadoop/logs'['=''']'+hadoop\u logfile=hadoop.log'['='''']'+hadoop\u policyfile=hadoop-policy.xml+unset ifs'-d/usr/local/hadoop/build/native-o-d/usr/local/hadoop/lib/native']'+'['-d/usr/local/hadoop/lib/native']'+'['x'!='x']'+java_库_路径=/usr/local/hadoop/lib/native+tool_路径='/usr/local/hadoop/share/hadoop/tools/lib/'+hadoop_opts='-djava.net.preferipv4stack=true-dhadoop.log.dir=/usr/local/hadoop/logs'+hadoop_opts='-djava.net.preferipv4stack=true-dhadoop.log.dir=/usr/local/hadoop/logs-dhadadoop.log.file=hadoop.log'+hadoop_opts='-djava.net.preferipv4stack=true-dhadoop.log.dir=/usr/local/hadoop/logs-dhadoop.log.file=hadoop.log-dhadoop.home.dir=/usr/local/hadoop'+hadoop\u opts='-djava.net.preferipv4stack=true-dhadoop.log.dir=/usr/local/hadoop/logs-dhadoop.log.file=hadoop.log-dhadoop.home.dir=/usr/local/hadoop-dhaddoop.id.str=24king'+hadoop\u opts='-djava.net.preferipv4stack=true-dhadoop.log.dir=/usr/local/hadoop/logs-dhadoop.log.file=hadoop.log-dhadoop.home.dir=/usr/local/hadoop-dhadoop.id.str=24king-dhadoop.root.logger=info,控制台''['x/usr/local/hadoop/lib/native'!='x']'+hadoop\u opts='-djava.net.preferipv4stack=true-dhadoop.log.dir=/usr/local/hadoop/logs-dhadoop.log.file=hadoop.log-dhadoop.home.dir=/usr/local/hadoop-dhadoop.id.str=24king-dhadoop.root.logger=info,console-djava.library.path=/usr/local/hadoop/lib/native'+export ld\u library\u path=:/usr/local/hadoop/lib/native+ld\u library\u path=:/usr/local/hadoop/lib/native+hadoop\u opts='-djava.net.preferipv4stack=true-dhadoop.log.dir=/usr/local/hadoop/logs-dhadoop.log.file=hadoop.log-dhadoop.home.dir=/usr/local/hadoop-dhadoop.id.str=24king-dhadoop.root.logger=info,console-djava.library.path=/usr/local/hadoop/lib/native-dhadoop.policy.file=hadoop policy.xml'+hadoop\u opts='-djava.net.preferipv4stack=true-dhadoop.log.dir=/usr/local/hadoop/logs-dhadoop.log.file=hadoop.log-dhadoop.home.dir=/usr/local/hadoop-dhadadoop.id.str=24king-dhadadoop.root.logger=info,console-djava.library.path=/usr/local/hadoop/lib/native-dhadoop.policy.file=hadoop-policy.xml-djava.net.preferipv4stack=true''['''=''']''['-d/usr/local/hadoop/share/hadoop/hdfs']'+export hadoop\u hdfs\u home=/usr/local/hadoop+hadoop\u hdfs\home=/usr/local/hadoop'['-d/local/hadoop/share/hadoop/hdfs/webapps']classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/:/usr/local/hadoop/share/hadoop/common/:/usr/local/hadoop/share/hadoop/hdfs'+'['-d/usr/local/hadoop/share/hadoop/hdfs/lib']'+classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/:/usr/local/hadoop/share/hadoop/common/:/usr/local/hadoop/share/hadoop/hdfs:/usr/local/hadoop/share/hadoop/hdfs/lib/'+classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/:/usr/local/hadoop/share/hadoop/common/:/usr/local/hadoop/share/hadoop/hdfs:/usr/local/hadoop/share/hadoop/hdfs/lib/:/usr/local hadoop/share/hadoop/hdfs/''['''=']''['-d/usr/local/hadoop/share/hadoop/yarn']']'+exporthadoop\u yarn\u home=/usr/local/hadoop+hadoop\u yarn\u home=/usr/local/hadoop'['-d/usr/local/hadoop/share/hadoop/yarn/webapps']'+'['-d/usr/local/hadoop/share/hadoop/yarn/lib']'+classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/:/usr/local/hadoop/share/hadoop/common/:/usr/local/hadoop/share/hadoop/hdfs:/usr/local/hadoop/share/hadoop/hdfs/lib/:/usr/local hadoop/share/hadoop/hdfs/:/usr/local hadoop/share/hadoop/yarn/lib/'+classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/:/usr/local/hadoop/share/hadoop/common/:/usr/local/hadoop/share/hadoop/hdfs:/usr/local/hadoop/share/hadoop/hdfs/lib/:/usr/local hadoop/share/hadoop/share/yarn/lib/:/usr/local hadoop/share/hadoop/yarn/''[''=']''['-d/usr/local/hadoop/share/hadoop/mapreduce']'+导出hadoop\u mapred\u home=/usr/local/hadoop+hadoop\u mapred\u home=/usr/local/hadoop'['/usr/local/hadoop/share/hadoop/mapreduce'!='/usr/local/hadoop/share/hadoop/yarn']'++'['-d/usr/local/hadoop/share/hadoop/mapreduce/webapps']'+'['-d/usr/local/hadoop/share/hadoop/mapreduce/lib']'+classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/:/usr/local/hadoop/share/hadoop/common/:/usr/local/hadoop/share/hadoop/hdfs:/usr/local/hadoop/share/hadoop/hdfs/lib/:/usr/local hadoop/share/hadoop/hdfs/:/usr/local hadoop/share/yarn/lib/:/usr/local hadoop/share/hadoop/yarn/:/usr/local hadoop/share/hadoop/mapr导出/lib/'+classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/:/usr/local/hadoop/share/hadoop/common/:/usr/local/hadoop/share/hadoop/hdfs:/usr/local/hadoop/share/hadoop/hdfs/lib/:/usr/local hadoop/share/hadoop/hdfs/:/usr/local hadoop/share/yarn/lib/:/usr/local hadoop/share/hadoop/yarn/:/usr/local hadoop/share/hadoop/mapreduce/lib/:/usr/local/hadoop/share/hadoop/mapreduce/'+'[''''/contrib/capacity scheduler/.jar'!=''''']'+'[''''!='''']'++classpath='/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/:/usr/local/hadoop/share/hadoop/common/:/usr/local/

暂无答案!

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

相关问题