执行./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