Bilwa S T commented on YARN-10209:

Hi [~bteke] Thanks for reporting this issue. I checked 2.6.0 DS class. I can 
see that TimelineClient is created only if Timeline service is enabled. 
TimelineClient timelineClient = null;
    if (conf.getBoolean(YarnConfiguration.TIMELINE_SERVICE_ENABLED,
        YarnConfiguration.DEFAULT_TIMELINE_SERVICE_ENABLED)) {
      timelineClient = TimelineClient.createTimelineClient();
    } else {
      LOG.warn("Cannot put the domain " + domainId +
          " because the timeline service is not enabled");

> 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

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