Eric Yang created YARN-9152:
-------------------------------

             Summary: Auxiliary service REST API query does not return running 
services
                 Key: YARN-9152
                 URL: https://issues.apache.org/jira/browse/YARN-9152
             Project: Hadoop YARN
          Issue Type: Sub-task
            Reporter: Eric Yang


Auxiliary service is configured with:

{code}
{
  "services": [
    {
      "name": "mapreduce_shuffle",
      "version": "2",
      "configuration": {
        "properties": {
          "class.name": "org.apache.hadoop.mapred.ShuffleHandler",
          "mapreduce.shuffle.transfer.buffer.size": "102400",
          "mapreduce.shuffle.port": "13563"
        }
      }
    }
  ]
}
{code}

Node manager log shows the service is registered:
{code}
2018-12-19 22:38:57,466 INFO 
org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices: Reading 
auxiliary services manifest hdfs:/tmp/aux.json
2018-12-19 22:38:57,827 INFO 
org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices: 
Initialized auxiliary service mapreduce_shuffle
2018-12-19 22:38:57,828 INFO 
org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices: Adding 
auxiliary service mapreduce_shuffle version 2
{code}

REST API query shows:
{code}
$ curl --negotiate -u :  
http://eyang-3.openstacklocal:8042/ws/v1/node/auxiliaryservices
{"services":{}}
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to