Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

All the below port numbers are subject to any port offset you applied.

Ports

...

used for event receivers

WSO2 DAS inherits the following port configurations used in its predecessor, WSO2 Business Activity Monitor (BAM)uses the following thrift ports to receive data by default.

  • 7711 - Thrift SSL port for secure transport, where the client is authenticated to use WSO2 DAS.
  • 7611 - Thrift TCP port where WSO2 DAS receives events from clients.

For a complete set of information on port configurations of WSO2 DAS and related WSO2 products, see Default Ports of WSO2 Products.

...

However, the port used for each event receiver depends on the transport used to receive events. For more information on the port relevant for each receiver type, see Configuring Event Receivers.

Ports used in a clustered deployment

The following ports are used when WSO2 DAS is deployed in a clustered setup.

  • 10005 - The management port where each node shares its state with the other nodes in a high availability deployment.
  • 11000 - The port at which the presenter node listens to events in a high availability deployment.
  • 11224 - The port used by an active node to send events to the other active nodes is a high availability deployment.

...

The ports that are available for all the above 3 modes are listed below.

DescriptionPort number
spark.ui.port 4040
spark.history.ui.port 18080
spark.blockManager.port 12000
spark.broadcast.port 12500
spark.driver.port 13000
spark.executor.port 13500
spark.fileserver.port 14000
spark.replClassServer.port 14500

Ports available for the cluster mode

The ports that are available only for the cluster mode are listed below.

DescriptionPort number
spark.master.port 7077
spark.master.rest.port 6066
spark.master.webui.port 8081
spark.worker.port 11000
spark.worker.webui.port 11500

In addition, one or more ports in the 1200x range need to opened for communication between WSO2 DAS nodes based on the number of cores allocated for Spark.

When WSO2 DAS uses Apache Spark for batch processing, the processing is carried out by executors. Each time a new core is added for Spark, a new port in the 1200x range is needed to run the executor created for it.

e.g., When 1 core is allocated in a clustered deployment, one executor is run in each node. In the Spark master node, the port 12000 is used to run the Spark driver. Therefore, port 12001 met be opened to run the executor. However, the executor in  Spark worker node can be run on port 12000. If you add the 2nd core, you need to open port 12002 to run the 2nd executor for the Spark master.

For a complete set of information on port configurations of WSO2 DAS and related WSO2 products, see Default Ports of WSO2 Products.