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.
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.