Created
December 4, 2015 15:10
-
-
Save bgulla/316d5de9edf0644916be to your computer and use it in GitHub Desktop.
Sample myriad-config-defauly.yml for Apache Incubator Myriad ResourceManager Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # 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. | |
| ## | |
| mesosMaster: zk://172.31.20.165:2181/mesos | |
| checkpoint: false | |
| frameworkFailoverTimeout: 0 #43200000 | |
| frameworkName: MyriadAlpha | |
| frameworkRole: | |
| frameworkUser: yarn # User the Node Manager runs as, required if nodeManagerURI set, otherwise defaults to the user | |
| # running the resource manager. | |
| frameworkSuperUser: root # To be depricated, currently permissions need set by a superuser due to Mesos-1790. Must be | |
| # root or have passwordless sudo. Required if nodeManagerURI set, ignored otherwise. | |
| nativeLibrary: /usr/local/lib/libmesos.so | |
| zkServers: 172.31.20.165:2181 | |
| zkTimeout: 20000 | |
| restApiPort: 8192 | |
| profiles: | |
| zero: # NMs launched with this profile dynamically obtain cpu/mem from Mesos | |
| cpu: 0 | |
| mem: 0 | |
| small: | |
| cpu: 2 | |
| mem: 2048 | |
| medium: | |
| cpu: 4 | |
| mem: 4096 | |
| large: | |
| cpu: 10 | |
| mem: 12288 | |
| nmInstances: # NMs to start with. Requires at least 1 NM with a non-zero profile. | |
| small: 1 # <profile_name : instances> | |
| rebalancer: false | |
| haEnabled: false | |
| nodemanager: | |
| jvmMaxMemoryMB: 512 | |
| cpus: 0.2 | |
| cgroups: false | |
| executor: | |
| jvmMaxMemoryMB: 256 | |
| #path: file:///usr/local/libexec/mesos/myriad-executor-runnable-0.0.1.jar | |
| #The following should be used for a remotely distributed URI, hdfs assumed but other URI types valid. | |
| nodeManagerUri: hdfs://172.31.45.229:54310/dist/hadoop-2.7.0.tgz | |
| #path: hdfs://namenode:port/dist/myriad-executor-runnable-0.0.1.jar | |
| yarnEnvironment: | |
| YARN_HOME: hadoop-2.7.0 | |
| #YARN_HOME: hadoop-2.5.0 #this should be relative if nodeManagerUri is set | |
| JAVA_HOME: /usr #System dependent, but sometimes necessary | |
| #mesosAuthenticationPrincipal: | |
| #mesosAuthenticationSecretFilename: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment