[
https://issues.apache.org/jira/browse/YARN-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14541575#comment-14541575
]
Akira AJISAKA commented on YARN-2336:
-------------------------------------
bq. I think childQueue should be array instead of map without key, "queue"
since the key looks redundant. What do you think?
I think the schema is redundant but CapacityScheduler has the same (redundant)
schema.
{code}
"queues": {
"queue": [
{
{code}
I'd like to keep the consistency.
> Fair scheduler REST api returns a missing '[' bracket JSON for deep queue tree
> ------------------------------------------------------------------------------
>
> Key: YARN-2336
> URL: https://issues.apache.org/jira/browse/YARN-2336
> Project: Hadoop YARN
> Issue Type: Bug
> Components: fairscheduler
> Affects Versions: 2.4.1
> Reporter: Kenji Kikushima
> Assignee: Kenji Kikushima
> Labels: BB2015-05-RFC
> Attachments: YARN-2336-2.patch, YARN-2336-3.patch, YARN-2336-4.patch,
> YARN-2336.005.patch, YARN-2336.patch
>
>
> When we have sub queues in Fair Scheduler, REST api returns a missing '['
> blacket JSON for childQueues.
> This issue found by [~ajisakaa] at YARN-1050.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)