hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3541) Add version info on timeline service / generic history web UI and RES API
Date Sat, 25 Apr 2015 10:57:38 GMT

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

Steve Loughran commented on YARN-3541:

I'\m being ruthless here and saying -1 until we have resolved YARN-3539; that is the REST
API of V1 is actually written down in the documents with a statement of that it is one of
the stable REST APIs.

Once that is done, new aspects of the REST API can be added, with updates to the documentation.

If you look at that patch, it already documents the fact that a GET of ws/v1/timeline/ actually
returns the about details, though as the Java structure representing this, {{org.apache.hadoop.yarn.server.timeline.webapp.TimelineWebServices}}
is hidden in the implementation classes. It MUST be in the YARN API JAR. Moving it in to {{hadoop-yarn-server-applicationhistoryservice}}
is  not sufficient, as it is still unusable by external callers who do not have the server
JAR on their classpath. 

Finally,the assertNotNull() assertions need to have diagnostics strings, simply the name of
the null field would be enough. Otherwise it's not easy trying to track down a regression

> Add version info on timeline service / generic history web UI and RES API
> -------------------------------------------------------------------------
>                 Key: YARN-3541
>                 URL: https://issues.apache.org/jira/browse/YARN-3541
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: YARN-3541.1.patch

This message was sent by Atlassian JIRA

View raw message