Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update example with (new) default profiles

...

Code Block
{

    "checkpoint": false, 

    "frameworkFailoverTimeout": 43200000.0, 

    "frameworkName": "MyriadAlpha", 

    "frameworkRole": "", 

    "frameworkSuperUser": {

        "present": true

    }, 

    "frameworkUser": {

        "present": true

    }, 

    "mesosAuthenticationPrincipal": "", 

    "mesosAuthenticationSecretFilename": "", 

    "mesosMaster": "zk://10.10.100.19:2181/mesos", 

    "myriadExecutorConfiguration": {

        "jvmMaxMemoryMB": {

            "present": true

        }, 

        "nodeManagerUri": {

            "present": false

        }, 

        "path": "file:///usr/local/libexec/mesos/myriad-executor-runnable-0.0.1.jar"

    }, 

    "nativeLibrary": "/usr/local/lib/libmesos.so", 

    "nmInstances": {

        "medium": 1

    }, 

    "nodeManagerConfiguration": {

        "cgroups": {

            "present": true

        }, 

        "cpus": {

            "present": true

        }, 

        "jvmMaxMemoryMB": {

            "present": true

        }, 

        "jvmOpts": {

            "present": false

        }

    }, 

    "profiles": {

        "large": {

            "cpu": "410", 

            "mem": "409612288"

        }, 

        "medium": {

            "cpu": "24", 

            "mem": "20484096"

        }, 

        "small": {

            "cpu": "12", 

            "mem": "11002048"

        }, 

        "zero": {

            "cpu": "0", 

            "mem": "0"

        }

    }, 

    "rebalancer": false, 

    "restApiPort": 8192, 

    "yarnEnvironment": {

        "YARN_HOME": "/root/hadoop-2.7.1"

    }, 

    "zkServers": "10.10.100.19:2181", 

    "zkTimeout": 20000

}