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

Rohith Sharma K S commented on YARN-8834:
-----------------------------------------

Hi [~abmodi] I just realized that patch uses below code which is meant for http 
address. 
Instead of 
{code}
String timelineReaderWebAppAddress = conf.get(
                YarnConfiguration.TIMELINE_SERVICE_READER_WEBAPP_ADDRESS,
                
YarnConfiguration.DEFAULT_TIMELINE_SERVICE_READER_WEBAPP_ADDRESS);
{code}  
we should use WebAppUtils.getTimelineReaderWebAppURLWithoutScheme(conf); This 
gives right web address. 

> Provide Java client for fetching Yarn specific entities from TimelineReader
> ---------------------------------------------------------------------------
>
>                 Key: YARN-8834
>                 URL: https://issues.apache.org/jira/browse/YARN-8834
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelinereader
>            Reporter: Rohith Sharma K S
>            Assignee: Abhishek Modi
>            Priority: Critical
>         Attachments: YARN-8834.001.patch, YARN-8834.002.patch, 
> YARN-8834.003.patch, YARN-8834.004.patch, YARN-8834.005.patch
>
>
> While reviewing YARN-8303, we felt that it is necessary to provide 
> TimelineReaderClient which wraps all the REST calls in it so that user can 
> just provide application or container ids along with filters.Currently 
> fetching entities from TimelineReader is only via REST call or somebody need 
> to write java client get entities.
> It is good to provide TimelineReaderClient which fetch entities from 
> TimelineReaderServer. This will be more useful.



--
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