Skip to content

Commit

Permalink
adding common port number used by spark cluster (pingcap#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhexuany authored Aug 1, 2019
1 parent 9497f81 commit d56b942
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/userguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,19 @@ Currently you could adjust these configs in your spark.conf file.
Currently, only range partition table is limited supported. If partition expression having function expression
rather than `year` then partition pruning will not be applied. Such scan can be considered full table scan if there is no index in the schema.

## Common Port numbers used by Spark Cluster
|Port Name| Default Value Port Number | Configuration Property | Nots|
|---------------| ------------- |-----|-----|
|Master web UI | 8080 | spark.master.ui.port or SPARK_MASTER_WEBUI_PORT| The value set by the spark.master.ui.port property takes precedence. |
|Worker web UI | 8081| spark.worker.ui.port or SPARK_WORKER_WEBUI_PORT | The value set by the spark.worker.ui.port takes precedence.|
|History server web UI |18080 | spark.history.ui.port |Optional; only applies if you use the history server. |
|Master port | 7077 | SPARK_MASTER_PORT | |
|Master REST port | 6066 | spark.master.rest.port | Not needed if you disable the REST service. |
|Worker port | (random) | SPARK_WORKER_PORT | |
|Block manager port |(random) | spark.blockManager.port | |
|Shuffle server |7337 | spark.shuffle.service.port | Optional; only applies if you use the external shuffle service. |
|Application web UI |4040| spark.ui.port | if 4040 is used, then 4041 will be used

## FAQ

Q: What are the pros/cons of independent deployment as opposed to a shared resource with an existing Spark / Hadoop cluster?
Expand Down
13 changes: 13 additions & 0 deletions docs/userguide_spark2.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,19 @@ Currently you could adjust these configs in your spark.conf file.
| Property Name | Default | Description
| -------- | -----: | :----: |
| spark.tispark.statistics.auto_load | true | Whether to load statistics info automatically during database mapping. |

## Common Port numbers used by Spark Cluster
|Port Name| Default Value Port Number | Configuration Property | Nots|
|---------------| ------------- |-----|-----|
|Master web UI | 8080 | spark.master.ui.port or SPARK_MASTER_WEBUI_PORT| The value set by the spark.master.ui.port property takes precedence. |
|Worker web UI | 8081| spark.worker.ui.port or SPARK_WORKER_WEBUI_PORT | The value set by the spark.worker.ui.port takes precedence.|
|History server web UI |18080 | spark.history.ui.port |Optional; only applies if you use the history server. |
|Master port | 7077 | SPARK_MASTER_PORT | |
|Master REST port | 6066 | spark.master.rest.port | Not needed if you disable the REST service. |
|Worker port | (random) | SPARK_WORKER_PORT | |
|Block manager port |(random) | spark.blockManager.port | |
|Shuffle server |7337 | spark.shuffle.service.port | Optional; only applies if you use the external shuffle service. |
|Application web UI |4040| spark.ui.port | if 4040 is used, then 4041 will be used

## FAQ

Expand Down

0 comments on commit d56b942

Please sign in to comment.