Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17016

ATSHook does not check yarn.timeline-service.enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      timeline enabled flag check with in the TimelineCliemtImpl removed at YARN-2375
      but ATSHook does not check timeline enabled.

      ATSHook.java
              YarnConfiguration yarnConf = new YarnConfiguration();
              timelineClient = TimelineClient.createTimelineClient();
              timelineClient.init(yarnConf);
              timelineClient.start();
      

      in the cluster that does not use timeline,
      hive cli and hiveserver2 emit timeline retry log.

      2017-07-04 13:31:07,835 INFO  [ATS Logger 0]: impl.TimelineClientImpl (TimelineClientImpl.java:logException(213)) - Exception caught by TimelineClientConnectionRetry, will try 23 more time(s).
      Message: java.net.ConnectException: Connection refused
      2017-07-04 13:31:08,842 INFO  [ATS Logger 0]: impl.TimelineClientImpl (TimelineClientImpl.java:logException(213)) - Exception caught by TimelineClientConnectionRetry, will try 22 more time(s).
      Message: java.net.ConnectException: Connection refused
      2017-07-04 13:31:09,851 INFO  [ATS Logger 0]: impl.TimelineClientImpl (TimelineClientImpl.java:logException(213)) - Exception caught by TimelineClientConnectionRetry, will try 21 more time(s).
      Message: java.net.ConnectException: Connection refused
      2017-07-04 13:31:10,858 INFO  [ATS Logger 0]: impl.TimelineClientImpl (TimelineClientImpl.java:logException(213)) - Exception caught by TimelineClientConnectionRetry, will try 20 more time(s).
      Message: java.net.ConnectException: Connection refused
      2017-07-04 13:31:11,865 INFO  [ATS Logger 0]: impl.TimelineClientImpl (TimelineClientImpl.java:logException(213)) - Exception caught by TimelineClientConnectionRetry, will try 19 more time(s).
      Message: java.net.ConnectException: Connection refused
      2017-07-04 13:31:12,870 INFO  [ATS Logger 0]: impl.TimelineClientImpl (TimelineClientImpl.java:logException(213)) - Exception caught by TimelineClientConnectionRetry, will try 18 more time(s).
      Message: java.net.ConnectException: Connection refused
      2017-07-04 13:31:13,872 INFO  [ATS Logger 0]: impl.TimelineClientImpl (TimelineClientImpl.java:logException(213)) - Exception caught by TimelineClientConnectionRetry, will try 17 more time(s).
      Message: java.net.ConnectException: Connection refused
      2017-07-04 13:31:14,877 INFO  [ATS Logger 0]: impl.TimelineClientImpl (TimelineClientImpl.java:logException(213)) - Exception caught by TimelineClientConnectionRetry, will try 16 more time(s).
      Message: java.net.ConnectException: Connection refused
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              magnum KWON BYUNGCHANG
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: