Repository: flink
Updated Branches:
  refs/heads/master 81fa9adcd -> 0dbe05dce


[FLINK-3638][docs] fix default task manager port


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/0dbe05dc
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/0dbe05dc
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/0dbe05dc

Branch: refs/heads/master
Commit: 0dbe05dced73c6eecbf7da5270a346566b0843c0
Parents: 81fa9ad
Author: Maximilian Michels <[email protected]>
Authored: Mon Apr 4 14:21:14 2016 +0200
Committer: Maximilian Michels <[email protected]>
Committed: Mon Apr 4 14:27:31 2016 +0200

----------------------------------------------------------------------
 docs/setup/config.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/0dbe05dc/docs/setup/config.md
----------------------------------------------------------------------
diff --git a/docs/setup/config.md b/docs/setup/config.md
index 1c5735d..6e6e0a6 100644
--- a/docs/setup/config.md
+++ b/docs/setup/config.md
@@ -156,8 +156,8 @@ The following parameters configure Flink's JobManager and 
TaskManagers.
 - `jobmanager.rpc.address`: The IP address of the JobManager, which is the 
master/coordinator of the distributed system (DEFAULT: **localhost**).
 - `jobmanager.rpc.port`: The port number of the JobManager (DEFAULT: **6123**).
 - `taskmanager.hostname`: The hostname of the network interface that the 
TaskManager binds to. By default, the TaskManager searches for network 
interfaces that can connect to the JobManager and other TaskManagers. This 
option can be used to define a hostname if that strategy fails for some reason. 
Because different TaskManagers need different values for this option, it 
usually is specified in an additional non-shared TaskManager-specific config 
file.
-- `taskmanager.rpc.port`: The task manager's IPC port (DEFAULT: **6122**).
-- `taskmanager.data.port`: The task manager's port used for data exchange 
operations (DEFAULT: **6121**).
+- `taskmanager.rpc.port`: The task manager's IPC port (DEFAULT: **0**, which 
lets the OS choose a free port).
+- `taskmanager.data.port`: The task manager's port used for data exchange 
operations (DEFAULT: **0**, which lets the OS choose a free port).
 - `jobmanager.heap.mb`: JVM heap size (in megabytes) for the JobManager 
(DEFAULT: **256**).
 - `taskmanager.heap.mb`: JVM heap size (in megabytes) for the TaskManagers, 
which are the parallel workers of the system. In contrast to Hadoop, Flink runs 
operators (e.g., join, aggregate) and user-defined functions (e.g., Map, 
Reduce, CoGroup) inside the TaskManager (including sorting/hashing/caching), so 
this value should be as large as possible (DEFAULT: **512**). On YARN setups, 
this value is automatically configured to the size of the TaskManager's YARN 
container, minus a certain tolerance value.
 - `taskmanager.numberOfTaskSlots`: The number of parallel operator or user 
function instances that a single TaskManager can run (DEFAULT: **1**). If this 
value is larger than 1, a single TaskManager takes multiple instances of a 
function or operator. That way, the TaskManager can utilize multiple CPU cores, 
but at the same time, the available memory is divided between the different 
operator or function instances. This value is typically proportional to the 
number of physical CPU cores that the TaskManager's machine has (e.g., equal to 
the number of cores, or half the number of cores).

Reply via email to