Support Questions

Find answers, ask questions, and share your expertise

How to check for port conflicts between HDP and DC/OS cluster if they set up on same set of nodes

New Contributor
 
2 REPLIES 2

Super Mentor

@Rahul Unnikrishnan

The Following link shows all the default ports used by various HDP components and services. Please check if those ports are being used by any other service to find the conflict.

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_reference/content/hdfs-ports.html

.

Also use the following command to find the PID that is using any specific port:

# netstat -tnlpa | grep $PORT_IN_ISSUE

Example:
# netstat -tnlpa | grep 50070

.

,

New Contributor

Hi Jay thanks for the reply !!

Will the mentioned Linux command lists out the details if there exists a port conflicts

Eg:- netstat -tnlpa | grep 8441 .. gives the below details

tcp 0 0 172.31.25.20:32776 172.31.25.20:8441 ESTABLISHED 11149/python

tcp6 0 0 :::8441 :::* LISTEN 12309/java t

cp6 0 0 172.31.25.20:8441 172.31.25.28:36804 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.30:37698 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.21:56670 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.29:36958 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.27:46174 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.22:45486 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.25:50226 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.23:49110 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.26:44214 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.20:32776 ESTABLISHED 12309/java

tcp6 0 0 172.31.25.20:8441 172.31.25.24:43244 ESTABLISHED 12309/java