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

Benjamin Teke commented on YARN-10209:
--------------------------------------

Hi [~BilwaST],

Thanks for looking at the issue. Sorry, I wasn't clear in the description. The 
ApplicationMaster instantiates the TimelineClient unconditionally. In 
ApplicationMaster#init:
{code:java}
timelineClient = TimelineClient.createTimelineClient();
timelineClient.init(conf);
timelineClient.start();
{code}

> DistributedShell should initialize TimelineClient conditionally
> ---------------------------------------------------------------
>
>                 Key: YARN-10209
>                 URL: https://issues.apache.org/jira/browse/YARN-10209
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Benjamin Teke
>            Assignee: Bilwa S T
>            Priority: Major
>
> YarnConfiguration was changed along with the introduction of newer Timeline 
> Service versions to include configuration about the used version. In Hadoop 
> 2.6.0 the distributed shell instantiates Timeline Client whether if it's 
> enabled in the configuration or not. Running this distributed shell on newer 
> Hadoop versions (where the new Timeline Service is available) causes an 
> exception, because the bundled YarnConfiguration doesn't have the necessary 
> version configuration property. Making the Timeline Client initialization 
> conditional the distributed shell would run at least with disabled Timeline 
> Service.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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