flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5494) Improve Mesos documentation
Date Thu, 02 Feb 2017 21:08:51 GMT

    [ https://issues.apache.org/jira/browse/FLINK-5494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15850494#comment-15850494

ASF GitHub Bot commented on FLINK-5494:

Github user tillrohrmann commented on a diff in the pull request:

    --- 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
    +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 --
    Will change it that way.

> 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

View raw message