You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myriad.apache.org by "Sarjeet Singh (JIRA)" <ji...@apache.org> on 2015/10/14 01:05:05 UTC
[jira] [Created] (MYRIAD-148) /api/config missing
myriadExecutorConfiguration & nodeManagerConfiguration's param key value.
Sarjeet Singh created MYRIAD-148:
------------------------------------
Summary: /api/config missing myriadExecutorConfiguration & nodeManagerConfiguration's param key value.
Key: MYRIAD-148
URL: https://issues.apache.org/jira/browse/MYRIAD-148
Project: Myriad
Issue Type: Bug
Reporter: Sarjeet Singh
When executed the /api/config to get myriad configs, the api output doesn't have values for nodeManagerConfiguration & myriadExecutorConfiguration's parameter keys.
e.g. /api/config json (snippet) output:
"myriadExecutorConfiguration": {
"jvmMaxMemoryMB": {
"present": true <----------
},
"nodeManagerUri": {
"present": false <----------
},
"path": "file:///opt/mapr/myriad/myriad-0.1/lib/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 <----------
}
},
>From myriad-config-default.yml:
nodemanager:
jvmMaxMemoryMB: 1024
cpus: 0.2
cgroups: false
executor:
jvmMaxMemoryMB: 256
path: file:///opt/mapr/myriad/myriad-0.1/lib/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://namenode:port/dist/hadoop-2.5.0.tar.gz
#path: file:///opt/mapr/myriad/myriad-0.1/lib/myriad-executor-runnable-0.0.1.jar
As the parameter values are specified in *.yml, /api/config json output should contain the values for the param keys.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)