Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

I can't connent docker container on YARN from NodeManager host.

Highlighted

I can't connent docker container on YARN from NodeManager host.

New Contributor

Hi,

I try docker on YARN.


How can I connect docker network from my host? (This is using docker on YARN)

My error is below. I set bridge network.

19/03/13 14:15:34 INFO monitor.ServiceMonitor: Readiness check failed for httpd-0: Probe Status, time="Wed Mar 13 14:15:34 JST 2019", outcome="failure", message="Failure in Http probe of http://dsl-hdp01.nttcoms-dsl.com:8080 [200-299]", exception="java.io.IOException: Probe http://dsl-hdp01.nttcoms-dsl.com:8080 failed for IP 172.17.0.2: java.net.ConnectException: Connection refused (Connection refused)"
19/03/13 14:15:34 INFO probe.HttpProbe: Probe http://dsl-hdp01.nttcoms-dsl.com:8080 failed for IP 172.17.0.2: java.net.ConnectException: Connection refused (Connection refused)
java.net.ConnectException: Connection refused (Connection refused)

I submit the below application.

$ yarn app -launch httpd-sv-1 httpd.json

The httpd.json is same as sample json file within below documentation.

https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.0.1/data-operating-system/content/test_docker_o...


My Environment below.

  • HDP3.0.1
  • Docker CE (Installed in all NodeManager hosts)


Can you help me ?