[
https://issues.apache.org/jira/browse/FLINK-5494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849574#comment-15849574
]
ASF GitHub Bot commented on FLINK-5494:
---------------------------------------
Github user tzulitai commented on a diff in the pull request:
https://github.com/apache/flink/pull/3236#discussion_r99063368
--- Diff: docs/setup/mesos.md ---
@@ -107,29 +107,58 @@ Unvierse. Please use the following workaround in the
meantime:
## Mesos without DC/OS
-Let's take a look at how to setup Flink on Mesos without DC/OS.
+You can also run Mesos without DC/OS.
-### Prerequisites
+### Installing Mesos
-Please follow the
-[instructions on how to setup Mesos on the official
website](http://mesos.apache.org/documentation/latest/).
+Please follow the [instructions on how to setup Mesos on the official
website](http://mesos.apache.org/documentation/latest/getting-started/).
+
+After installation you have to configure the set of master and agent nodes
by creating the files `MESOS_HOME/etc/mesos/masters` and
`MESOS_HOME/etc/mesos/slaves`.
+These files contain in each row a single hostname on which the respective
component will be started (assuming SSH access to these nodes).
+
+Next you have to create `MESOS_HOME/etc/mesos/mesos-master-env.sh` or use
the template found in the same directory.
+In this file, you have to define
+
+ export MESOS_work_dir=WORK_DIRECTORY
+
+and it is recommended to uncommment
+
+ export MESOS_log_dir=LOGGING_DIRECTORY
+
+
+In order to configure the Mesos agents, you have to create
`MESOS_HOME/etc/mesos/mesos-agent-env.sh` or use the template found in the same
directory.
+You have to configure
+
+ export MESOS_master=MASTER_HOSTNAME:MASTER_PORT
+
+and uncomment
+
+ export MESOS_log_dir=LOGGING_DIRECTORY
+ export MESOS_work_dir=WORK_DIRECTORY
+
+#### Mesos Library
+
+In order to run Java applications with Mesos you have to export
`MESOS_NATIVE_JAVA_LIBRARY=MESOS_HOME/lib/libmesos.so`.
+
+#### Deploying Mesos
+
+In order to start your mesos cluster, use the deployment script
`MESOS_HOME/sbin/mesos-start-cluster.sh`.
+In order to stop your mesos cluster, use the deployment script
`MESOS_HOME/sbin/mesos-stop-cluster.sh`.
+More information about the deployment scripts can be found
[here](http://mesos.apache.org/documentation/latest/deploy-scripts/).
+
+### Installing Marathon
+
+Optionally, you may also [install
Marathon](https://mesosphere.github.io/marathon/docs/) which will be necessary
to run Flink in high availability (HA) mode.
### Optional dependencies
--- End diff --
This title is a bit not synced with the other title changes: "Installing
Marathon" was singled out if "Optional dependencies", even though Marathon is
still optional.
Perhaps "Installing Maration (Optional)" and change this also to
"Installing a Distributed Filesystem (Optional)".
> Improve Mesos documentation
> ---------------------------
>
> Key: FLINK-5494
> URL: https://issues.apache.org/jira/browse/FLINK-5494
> Project: Flink
> Issue Type: Sub-task
> Components: Mesos
> Affects Versions: 1.2.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Fix For: 1.2.0
>
>
> Flink's Mesos documentation could benefit from more details how to set things
> up and which parameters to use.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)