[
https://issues.apache.org/jira/browse/MYRIAD-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuliya Feldman resolved MYRIAD-148.
-----------------------------------
Resolution: Fixed
Fix Version/s: Myriad 0.1.0
Project: http://git-wip-us.apache.org/repos/asf/incubator-myriad/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-myriad/commit/e0ca4da1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-myriad/tree/e0ca4da1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-myriad/diff/e0ca4da1
> /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
> Assignee: Yuliya Feldman
> Fix For: Myriad 0.1.0
>
>
> 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)