You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Jayesh (JIRA)" <ji...@apache.org> on 2016/03/09 23:37:40 UTC
[jira] [Created] (YARN-4785) type field inconsistencies in response
of RM REST API - cluster/scheduler
Jayesh created YARN-4785:
----------------------------
Summary: type field inconsistencies in response of RM REST API - cluster/scheduler
Key: YARN-4785
URL: https://issues.apache.org/jira/browse/YARN-4785
Project: Hadoop YARN
Issue Type: Bug
Components: webapp
Affects Versions: 2.6.0
Reporter: Jayesh
Inconsistent type field value type in JSON response of the cluster/scheduler
here is the sample output ( removed non-relevant fields )
{code}
{
"scheduler": {
"schedulerInfo": {
"type": "capacityScheduler",
"capacity": 100,
...
"queueName": "root",
"queues": {
"queue": [
{
"type": "capacitySchedulerLeafQueueInfo",
"capacity": 0.1,
....
},
{
"type": [
"capacitySchedulerLeafQueueInfo"
],
"capacity": 0.1,
"queueName": "test-queue",
"state": "RUNNING",
....
},
{
"type": [
"capacitySchedulerLeafQueueInfo"
],
"capacity": 2.5,
....
},
{
"capacity": 25,
....
"state": "RUNNING",
"queues": {
"queue": [
{
"capacity": 6,
"state": "RUNNING",
"queues": {
"queue": [
{
"type": "capacitySchedulerLeafQueueInfo",
"capacity": 100,
...
}
]
},
....
},
{
"capacity": 6,
...
"state": "RUNNING",
"queues": {
"queue": [
{
"type": "capacitySchedulerLeafQueueInfo",
"capacity": 100,
...
}
]
},
...
},
...
]
},
...
}
]
}
}
}
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)