Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Getting Java error while trying to run Hadoop

$
0
0
Hello,

I'm trying to install Hadoop (3.2.1) on my Ubuntu VM and I've been following the instructions here: How to Install Hadoop with Step by Step Configuration on Linux Ubuntu (guru99.com)

I think I'm nearly finished, but when I try to run Hadoop with the command $HADOOP_HOME/sbin/start-dfs.sh, I get this error:



I have verified that Java is installed and that the path is set through these commands:



I have set the path in /etc/profile:



I set the path in the ~/.bashrc file:



And I changed the JAVA_HOME variable in $HADOOP_HOME/etc/hadoop/hadoop-env.sh to this:



I'm not sure what I'm doing wrong. :(

Any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>