[
https://issues.apache.org/jira/browse/HIVE-17016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
KWON BYUNGCHANG resolved HIVE-17016.
------------------------------------
Resolution: Duplicate
I resolved as duplicated.
workaround is that remove below properties.
{code}
<property>
<name>hive.exec.failure.hooks</name>
<value>org.apache.hadoop.hive.ql.hooks.ATSHook</value>
</property>
<property>
<name>hive.exec.post.hooks</name>
<value>org.apache.hadoop.hive.ql.hooks.ATSHook</value>
</property>
<property>
<name>hive.exec.pre.hooks</name>
<value>org.apache.hadoop.hive.ql.hooks.ATSHook</value>
</property>
{code}
> ATSHook does not check yarn.timeline-service.enabled
> ----------------------------------------------------
>
> Key: HIVE-17016
> URL: https://issues.apache.org/jira/browse/HIVE-17016
> Project: Hive
> Issue Type: Bug
> Reporter: KWON BYUNGCHANG
> Priority: Minor
>
> timeline enabled flag check with in the TimelineCliemtImpl removed at
> YARN-2375
> but ATSHook does not check timeline enabled.
> {code:title= ATSHook.java}
> YarnConfiguration yarnConf = new YarnConfiguration();
> timelineClient = TimelineClient.createTimelineClient();
> timelineClient.init(yarnConf);
> timelineClient.start();
> {code}
> in the cluster that does not use timeline,
> hive cli and hiveserver2 emit timeline retry log.
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)