awesome-kyuubi / hadoop-testing

Testing Sandbox for Hadoop Ecosystem Components
Apache License 2.0
33 stars 12 forks source link

nc: can't connect to remote host (192.168.228.4): Connection refused #90

Closed ocean-zhc closed 6 months ago

ocean-zhc commented 6 months ago
image

After the Docker Compose Up is started, it has the following errors to see the log. It runs the container through orbstack, but it cannot be accessed through the domain name

pan3793 commented 6 months ago

it cannot be accessed through the domain name

Both Docker Desktop and OrbStack should be good to access other containers through the domain name in container, you can log in to a container and run ping hadoop-worker1.orb.local to verify it.

the error message is expected, HDFS requires some init work, e.g. format namenode, create some dirs, and other services will wait for HDFS service ready by detecting some ports or files marks, after all pre-works ready, the service start

pan3793 commented 6 months ago

BTW, all services in hadoop-master* and hadoop-worker* are managed through supervisor, you can run supervisorctl status to check the service status, and check logs under /var/log/

ocean-zhc commented 6 months ago

that's ok! tks!