Running this script (caochong/from-source/run.sh) gives this error:
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [caochong-master]
caochong-master: ssh: connect to host caochong-master port 22: Connection refused
localhost: ssh: connect to host localhost port 22: Connection refused
Starting secondary namenodes [0.0.0.0]
0.0.0.0: ssh: connect to host 0.0.0.0 port 22: Connection refused
17/01/16 06:51:36 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
starting yarn daemons
chown: missing operand after '/hadoop/logs'
Try 'chown --help' for more information.
starting resourcemanager, logging to /hadoop/logs/yarn--resourcemanager-fbad3ebe7cdf.out
localhost: ssh: connect to host localhost port 22: Connection refused
starting resourcemanager, logging to /hadoop/logs/yarn--resourcemanager-ed26fb8707b6.out
The relevant part is
localhost: ssh: connect to host localhost port 22: Connection refused
The reason is that the ssh service hasn't been started in the docker container.
The simplest fix for this would be to add a line to start ssh in the container,i.e add this line:
Running this script (caochong/from-source/run.sh) gives this error:
The relevant part is
localhost: ssh: connect to host localhost port 22: Connection refused
The reason is that the ssh service hasn't been started in the docker container.
The simplest fix for this would be to add a line to start ssh in the container,i.e add this line:
I have tried this solution and it works well. Am I missing something, or should this line be added to the script?