One: HDFS

Namenode HTTP Service Port: 50070
Namenode RPC Port: 8020
Datanode RPC Port: 50010

Two: Yarn

ResourceManager HTTP Service Port: 8088
ResourceManager REST Service: 8088/ws/v1/cluster/info and 8088/ws/v1/cluster/metrics

Three: Spark

Spark Cluster Service Port: 8080
Job History Service Port: 18080