I build docker image,then docker run -ti xx bash.
after jps, I only find ResourceManager,no namenode.
but when i run hadoop fs -ls / ,the error coming:
17/05/16 13:10:55 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
ls: Call From 98d9b2c29448/127.0.0.1 to 98d9b2c29448:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
I build docker image,then docker run -ti xx bash. after jps, I only find ResourceManager,no namenode. but when i run hadoop fs -ls / ,the error coming: 17/05/16 13:10:55 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable ls: Call From 98d9b2c29448/127.0.0.1 to 98d9b2c29448:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
i don't know why,please tell me.thanks