Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
GET /api/config

Request Example

 Curl request example:

Code Block
TBD

Response Example

 

Code Block
{
    "mesosMaster": "curl http://10.10.30100.131:5050",
    "19:8192/api/config

Response Example

 

{

    "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": "4", 

            "mem": "4096"

        }, 

        "medium": {

            "cpu": "2", 

            "mem": "2048"

        }, 

        "small": {

            "cpu": "1", 

            "mem": "1100"

        }, 

        "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

}