org.apache.hadoop.net.ConnectTimeoutException: 60000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=/172.0.0.2:50010]
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:534) ~[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 172.0.0.2:50010. 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.