Re: Install Hadoop 3.2.0 on Windows 10 using Windows Subsystem for Linux (WSL)

Mo*** about 23 days ago

I get Permission Denied when trying to get hadoop binary. after research I found that I need to use sudo in front of command. So need to use 

sudo wget http://mirrors.....


Thanks for great article!


Add comment

Comments (6)

Raym*** about 10 days ago

You are welcome! I’m glad it helped.

Rudy*** about 10 days ago

This was a great and easy to follow post. THANK YOU!

Rudy*** about 10 days ago

This was a great and easy to follow post. THANK YOU!

Raym*** about 21 days ago

Hmm, sudo is actually not required if you install everything in your own folder though the better approach is to install them in other folders using root user (then sudo is required).

Mo*** about 23 days ago

I get Permission Denied when trying to get hadoop binary. after research I found that I need to use sudo in front of command. So need to use 

sudo wget http://mirrors.....


Thanks for great article!


Mo*** about 23 days ago

I get Permission Denied when trying to get hadoop binary. after research I found that I need to use sudo in front of command. So need to use 

sudo wget http://mirrors.....


Thanks for great article!


Raym*** about 24 days ago

Hi,

Most likely it is because ssh is not working. I found that each time when you restart your windows system, you need to re-run the command to restart ssh services:

sudo service ssh restart

Make sure you can ssh localhost successfully without a passphrase.

To make it easy, I have added command ‘sudo service ssh restart’ into my .bashrc file so that each time when I start WSL it will restart ssh to make sure it work.

Please stop all Hadoop services first and then restart the services:

sbin/stop-all.sh

sbin/start-all.sh

In Hadoop home folder there is a ‘logs’ folder created which includes the name node log file too. You can find the detailed the error message there.

Please provide your detailed error logs here if the above suggestions don’t work.

be*** about 24 days ago

In my case, the command: 

sbin/start-dfs.sh 

is executed without errors, but the NameNode is not started and therefore it is not responding on http://localhost:9870.

Executing jps command I can see how running processes are:

1) SecondaryNameNode

2) DataNode

3) Jps

NameNode process is missing from the returned list.


Any idea on what can be going wrong?

I followed all the instructions in this guide to configure my WSL environment.


Thanks 

be*** about 24 days ago

In my case, the command: 

sbin/start-dfs.sh 

is executed without errors, but the NameNode is not started and therefore it is not responding on http://localhost:9870.

Executing jps command I can see how running processes are:

1) SecondaryNameNode

2) DataNode

3) Jps

NameNode process is missing from the returned list.


Any idea on what can be going wrong?

I followed all the instructions in this guide to configure my WSL environment.


Thanks