New Contributor
Posts: 2
Registered: ‎06-09-2017

Host application can not connect to datanode due to internal ip 60000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=/]
at ~[hadoop-common-2.7.0.jar!/:na]

I installed docker image of cdh5.10 in a single node deployment to run my tests from host (Mac) machine. And these tests are failing with above error.

I can see telnet connecting over localhost:50010 but not Not sure how to change Hadoop to return localhost instead of up. I can successfully run example application within the guest os.

I see another related question here in this forum but that doesn't talk about the answer.