[ 
https://issues.apache.org/jira/browse/YARN-2664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14182112#comment-14182112
 ] 

Matteo Mazzucchelli commented on YARN-2664:
-------------------------------------------

I notice that the data that are sent to the html page are in a cvs format and 
that most of them are zero. I think that the best way to handle these data 
would be to send only the important (non-zero) values in a json.
{code:java}
[ 
    {
        "key": "reservation_1413792787395_0018",
        "values" : [{"date": "Mon Oct 24 10:13:37 CEST 2014", "value": 0},
                    {"date": "Mon Oct 24 10:14:18 CEST 2014", "value": 5}] 
    },
    ...
]
{code}
Therefore, only the timestamp and the value associated to it will be sent.

> Improve RM webapp to expose info about reservations.
> ----------------------------------------------------
>
>                 Key: YARN-2664
>                 URL: https://issues.apache.org/jira/browse/YARN-2664
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Carlo Curino
>         Attachments: PlannerPage_screenshot.pdf, YARN-2664.patch
>
>
> YARN-1051 provides a new functionality in the RM to ask for reservation on 
> resources. Exposing this through the webapp GUI is important.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to