Default Ports
Fusion services run in their own JVM and listen for requests on a number of ports. Environment variables, set in a common configuration file, are used to specify the port a service uses. To change the port(s) a service uses, you must change the settings in the configuration file.
Default Ports
The default ports for the Fusion services are as follows:
Port | Service |
---|---|
8091 |
Fusion agent |
8764 |
Fusion UI This service includes the Fusion Authorization Proxy |
8765 |
Fusion API Services |
8766 |
Spark Master |
8769 |
Spark Worker |
8984 |
Connectors Services |
8983 |
Solr This is the embedded Solr instance included in the Fusion distribution. |
9983 |
ZooKeeper The embedded ZooKeeper used by Fusion services.
It corresponds to the ZooKeeper |
8766 |
Apache Spark master REST port |
8767 |
Apache Spark master UI |
8082 and 8770 |
Apache Spark worker UI |
4040 |
Apache Spark driver UI |
8769 |
Apache Spark worker listening port |
7337 |
Shuffle port for Apache Spark worker |
8600-8616 |
Akka ports used between Spark driver, master, workers and API |
47100-48099 |
Apache Ignite TCP communication port range (used by API, Connectors and UI Proxy) |
48100-48199 |
Apache Ignite shared memory port range (used by API, Connectors and UI Proxy) |
49200-49299 |
Apache Ignite discovery port range (used by API, Connectors and UI Proxy) |
51500-52000 |
Executor port, driver port, block manager port, file server port You will need to set these manually in config if needed. Otherwise you can ignore these. |
Important
|
In a production environment, do not expose port 8765 to users. Using your firewall software or the Jetty configuration of the API server, make it accessible only to the auth proxy service and the connectors service. |
Port settings are defined in the
fusion.properties
file.
Jetty is used to run Solr, the Fusion UI, API, and connectors services. For each of these services, Jetty runs the service on the assigned port and listens on a second port for shutdown requests.
Therefore,
fusion.properties
defines pairs of ports for components running on Jetty, e.g.:
api.port = 8765 api.stopPort = 7765
ZooKeeper Port Configuration
The ZooKeeper ports are defined both in the
fusion.properties
file and in the zookeeper configuration file, zoo.cfg
,
in the zookeeper subdirectory, path fusion/3.1.x/conf/zookeeper/zoo.cfg
.
The definition in
fusion.properties
is:
zookeeper.port = 9983
The definition in zoo.cfg
is:
clientPort=9983
Important
|
If you change the zookeeper port and are running the embedded zookeeper, the port definitions must match! |