Hadoop 3.0.0 MacOS High Sierra 10.13.3
When i run
sbin/start-dfs.sh
There has an error:
Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
I configured below but cannot work:
I also configured hadoop-env.sh with above variables, not work too.
I solved this error. I build the source code(hadoop-3.0.0-src.tar.gz).
Then i copy hadoop-3.0.0-src/hadoop-dist/target/hadoop-3.0.0/lib/native
to ${HADOOP_HOME}/lib/native/
I write an article for build Hadoop source code for macOS https://medium.com/@zekexu/build-hadoop-source-code-on-macos-3f932780fd84 Hope helpful to you