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

ASF GitHub Bot commented on FLINK-6494:
---------------------------------------

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

    https://github.com/apache/flink/pull/4075#discussion_r123014657
  
    --- Diff: 
flink-mesos/src/main/java/org/apache/flink/mesos/configuration/MesosConfigOptions.java
 ---
    @@ -0,0 +1,110 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.flink.mesos.configuration;
    +
    +import org.apache.flink.configuration.ConfigOption;
    +
    +import static org.apache.flink.configuration.ConfigOptions.key;
    +
    +/**
    + * This class holds configuration constants used by Flink's MESOS runners.
    + *
    + * <p>These options are not expected to be ever configured by users 
explicitly.
    + */
    +public class MesosConfigOptions {
    +
    +   /**
    +    * The initial number of Mesos tasks to allocate.
    +    */
    +   public static final ConfigOption<Integer> MESOS_INITIAL_TASKS =
    +           key("mesos.initial-tasks")
    +           .defaultValue(0);
    +
    +   /**
    +    * The maximum number of failed Mesos tasks before entirely stopping
    +    * the Mesos session / job on Mesos.
    +    *
    +    * <p>By default, we take the number of of initially requested tasks.
    +    */
    +   public static final ConfigOption<String> MESOS_MAX_FAILED_TASKS =
    +           key("mesos.maximum-failed-tasks")
    +           .noDefaultValue();
    +
    +   /**
    +    * The Mesos master URL.
    +    *
    +    * <p>The value should be in one of the following forms:
    +    * <pre>
    +    * {@code
    +    *     host:port
    +    *     zk://host1:port1,host2:port2,.../path
    +    *     zk://username:password@host1:port1,host2:port2,.../path
    +    *     file:///path/to/file (where file contains one of the above)
    +    * }
    +    * </pre>
    +    *
    +    */
    +   public static final ConfigOption<String> MESOS_MASTER_URL =
    +           key("mesos.master").noDefaultValue();
    +
    +   /**
    +    * The failover timeout for the Mesos scheduler, after which running 
tasks are automatically shut down.
    +    *
    +    * <p>The default value is 600 (seconds).
    --- End diff --
    
    dont need this comment anymore.


> Migrate ResourceManager configuration options
> ---------------------------------------------
>
>                 Key: FLINK-6494
>                 URL: https://issues.apache.org/jira/browse/FLINK-6494
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Distributed Coordination, ResourceManager
>            Reporter: Chesnay Schepler
>            Assignee: Fang Yong
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to