Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

fail to start "local-cluster" on windows for docker #4

Open
askme765cs opened this issue Mar 27, 2018 · 4 comments
Open

fail to start "local-cluster" on windows for docker #4

askme765cs opened this issue Mar 27, 2018 · 4 comments

Comments

@askme765cs
Copy link

askme765cs commented Mar 27, 2018

root@hadoop-namenode:~# service hadoop start

====== STARTING HDFS ======

Starting namenodes on [hadoop-namenode]
hadoop-namenode: Warning: Permanently added '[hadoop-namenode]:2222,[172.18.0.2]:2222' (ECDSA) to the list of known hosts.
hadoop-namenode: starting namenode, logging to /usr/local/hadoop/logs/hadoop-hadoop-namenode-hadoop-namenode.out
: Temporary failure in name resolutionop-datanode1

@saif-ellafi
Copy link

saif-ellafi commented Jun 2, 2018

It's failing for me also on the same stage, although my error is different:

====== STARTING HDFS ======
Starting namenodes on [hadoop-namenode]
hadoop-namenode: Warning: Permanently added '[hadoop-namenode]:2222,[172.18.0.2]:2222' (ECDSA) to the list of known hosts.
hadoop-namenode: starting namenode, logging to /usr/local/hadoop/logs/hadoop-hadoop-namenode-hadoop-namenode.out
: Name or service not knownstname hadoop-datanode1
: Name or service not knownstname hadoop-datanode2

Windows 10 Home + docker toolbox

Fixed slaves-config/slaves and docker-composer.yml in windows is generated with Windows EOL. Change it to Linux EOL (notepad++) and it works great

@robvadai
Copy link
Member

Hi @saif-ellafi ,

was the EOL issue after you manually edited the file? The Git version should have UNIX EOL...

@saif-ellafi
Copy link

Yes, it's been some long time now but I had to fix the EOL manually for it to work. It was a nightmare to discover that was the actual issue though. Not even a slight clue.

@robvadai
Copy link
Member

robvadai commented Feb 2, 2020

Shall we close this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants