Spark Unable to load native-hadoop library for your platform
Alternatively the problem can be fixed by:
- At first hadoop binary (link) is downloaded and place in home directory. When the different hadoop version is choosen and the next steps is changed accordingly.
- Here the folder is unzipped in the home directory by using the following command. tar -zxvf hadoop_file_name
- And export HADOOP_HOME=~/hadoop-2.8.0 is added to the .bashrc file. After try by opening a new terminal.