hdfs 无法启动 ./start-dfs.sh
来源:1-13 -HDFS格式化及启停
慕仙5819249
2018-07-31
执行./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
1回答
-
Michael_PK
2018-07-31
debug的请忽略,启动不起来,jps看哪个进程缺失,去logs目录下找对应日志
00
相似问题