You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2017/02/02 21:00:42 UTC
flink git commit: [FLINK-5474] [docs] Extend DC/OS documentation
Repository: flink
Updated Branches:
refs/heads/master 35460d24f -> 817e3c257
[FLINK-5474] [docs] Extend DC/OS documentation
State where you can find out the job manager's address and how to install the DC/OS CLI.
This closes #3237.
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/817e3c25
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/817e3c25
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/817e3c25
Branch: refs/heads/master
Commit: 817e3c257d7b58f9de46ddb657d3d2707757d1c9
Parents: 35460d2
Author: Till Rohrmann <tr...@apache.org>
Authored: Tue Jan 31 13:45:45 2017 +0100
Committer: Till Rohrmann <tr...@apache.org>
Committed: Thu Feb 2 22:00:20 2017 +0100
----------------------------------------------------------------------
docs/setup/mesos.md | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/817e3c25/docs/setup/mesos.md
----------------------------------------------------------------------
diff --git a/docs/setup/mesos.md b/docs/setup/mesos.md
index 0c7e804..b85a593 100644
--- a/docs/setup/mesos.md
+++ b/docs/setup/mesos.md
@@ -90,20 +90,27 @@ Once you have a DC/OS cluster, you may install Flink through the DC/OS
Universe. In the search prompt, just search for Flink.
**Note**: At the time of this writing, Flink was not yet available in the
-Unvierse. Please use the following workaround in the meantime:
+Universe. Please use the following workaround in the meantime:
-1. Add the Development Universe
+1. [Install the DC/OS CLI](https://dcos.io/docs/1.8/usage/cli/install/)
- `dcos marathon app add https://raw.githubusercontent.com/mesosphere/dcos-flink-service/Makman2/quickstart/universe-server.json`
+2. Add the Development Universe
+
+ `./dcos marathon app add https://raw.githubusercontent.com/mesosphere/dcos-flink-service/Makman2/quickstart/universe-server.json`
-2. Add the local Universe repository:
+3. Add the local Universe repository:
- `dcos package repo add --index=0 dev-universe http://universe.marathon.mesos:8085/repo`
+ `./dcos package repo add --index=0 dev-universe http://universe.marathon.mesos:8085/repo`
-3. Install Flink through the Universe page or using the `dcos` command:
+4. Install Flink through the Universe page or using the `dcos` command:
- `dcos package install flink`
+ `./dcos package install flink`
+
+In order to execute a Flink job on a DC/OS hosted Flink cluster, you first have to find out the address of the launched JobManager.
+The JobManager address can be found out by opening the Flink service, going to *Job Manager* and then using the address specified under `jobmanager.rpc.address` and `jobmanager.rpc.port`.
+Now you can use this address to submit a job to your cluster via
+ FLINK_HOME/bin/flink run -m address:port flink-job.jar
## Mesos without DC/OS