WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Problem: when running a hadoop or Spark app we may encounter the message below
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Solution: type following command in the command line (in Windows OS)
Set LD_LIBRARY_PATH=%HADOOP_HOME%/lib/native/Set HADOOP_OPTS="-Djava.library.path=%HADOOP_HOME%/lib"
PS, If you have a cluster host, you can install Linux 6.x managed by Cloudera Manager. Then you can use PuTTY and Hue to run your files.