请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

hdfs 无法启动 ./start-dfs.sh

执行./start-dfs.sh 命令后 无法启动

Unable to load native-hadoop library for your platform... using builtin-java classes where applicable



#  hadoop checknative -a

2018-07-31 01:07:20,309 DEBUG util.NativeCodeLoader: Trying to load the custom-built native-hadoop library...

2018-07-31 01:07:20,310 DEBUG util.NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: no hadoop in java.library.path

2018-07-31 01:07:20,310 DEBUG util.NativeCodeLoader: java.library.path=/Users/mac/tools/hadoop-3.0.3/lib/native/

2018-07-31 01:07:20,310 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

2018-07-31 01:07:20,460 DEBUG util.Shell: setsid is not available on this machine. So not using it.

2018-07-31 01:07:20,461 DEBUG util.Shell: setsid exited with exit code 0

Native library checking:

hadoop:  false

zlib:    false

zstd  :  false

snappy:  false

lz4:     false

bzip2:   false

openssl: false

ISA-L:   false

2018-07-31 01:07:20,468 DEBUG util.ExitUtil: Exiting with status 1: ExitException

1: ExitException

at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:304)

at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:292)

at org.apache.hadoop.util.NativeLibraryChecker.main(NativeLibraryChecker.java:160)

2018-07-31 01:07:20,470 INFO util.ExitUtil: Exiting with status 1: ExitException


正在回答 回答被采纳积分+3

1回答

Michael_PK 2018-07-31 09:11:40

debug的请忽略,启动不起来,jps看哪个进程缺失,去logs目录下找对应日志

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信