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

4 years ago link more_vert
Raymond Raymond
articleArticles 549
codeCode 3
imageDiagrams 49
descriptionNotebooks 0
chat_bubble_outlineThreads 8
commentComments 268
loyaltyKontext Points 6058
account_circleProfile
#238 Re: Install Hadoop 3.2.0 on Windows 10 using Windows Subsystem for Linux (WSL)

Have you tried the solution I mentioned in the post? I got the same issue when it is first installed but after the following commands, it work. And also make sure you stop and restart hadoop daemons. 

sudo apt-get install ssh

sudo service ssh restart

I'm not expert in network and I don't think the following solution will definitely help as they are all local traffics. There must be some other reasons that you cannot ssh localhost. For example, is port 22 used by your other programs?  Can you also use IPv4 addresses for localhost instead of the IPv6 one?

Can you try to add firewall rule to allow TCP traffic to ssh port 22?

  • Protocol type: TCP
  • Local port: 22
  • Remote port: All Ports
  • Scope: make sure all your local IP addresses are added.
  • Profiles: Private. I'm choosing this one I will only connect to my wSL when connecting to private network. 
format_quote

person joe access_time 4 years ago
Re: Install Hadoop 3.2.0 on Windows 10 using Windows Subsystem for Linux (WSL)

I installed ssh and restarted it. Now 'ssh localhost' just says 'Connection closed by ::1 port 22.'

recommendMore from Kontext