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

Lefty Leverenz commented on HIVE-15570:
---------------------------------------

Doc note:  The new description and behavior of 
*hive.llap.client.consistent.splits* need to be documented in the wiki for 
release 2.2.0:

* [Configuration Properties -- hive.llap.client.consistent.splits | 
https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.llap.client.consistent.splits]

Added a TODOC2.2 label.

(By the way, the parameter description should have included newlines (\n) as 
shown for *hive.llap.validate.acls* right after it, to avoid overlong lines in 
the generated template file hive-default.xml.template.)

> LLAP: Exception in HostAffinitySplitLocationProvider when running in 
> container mode
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-15570
>                 URL: https://issues.apache.org/jira/browse/HIVE-15570
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>            Reporter: Rajesh Balamohan
>            Assignee: Zhiyuan Yang
>            Priority: Minor
>              Labels: TODOC2.2
>             Fix For: 2.2.0
>
>         Attachments: HIVE-15570.1.patch, HIVE-15570.2.patch, 
> HIVE-15570.3.patch
>
>
> Sometimes user might prefer to run with "hive.execution.mode=container" mode 
> when LLAP is stopped. If hive config for LLAP had 
> "hive.llap.client.consistent.splits=true" in client side, it would end up 
> throwing the following exception in {{Utils.java}}.
> {noformat}
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>         at 
> org.apache.tez.common.ReflectionUtils.getNewInstance(ReflectionUtils.java:68)
>         ... 25 more
> Caused by: java.lang.IllegalStateException: 
> org.apache.hadoop.hive.ql.exec.tez.HostAffinitySplitLocationProvider needs at 
> least 1 location to function
>         at 
> com.google.common.base.Preconditions.checkState(Preconditions.java:149)
>         at 
> org.apache.hadoop.hive.ql.exec.tez.HostAffinitySplitLocationProvider.<init>(HostAffinitySplitLocationProvider.java:52)
>         at 
> org.apache.hadoop.hive.ql.exec.tez.Utils.getSplitLocationProvider(Utils.java:54)
>         at 
> org.apache.hadoop.hive.ql.exec.tez.HiveSplitGenerator.<init>(HiveSplitGenerator.java:121)
>         ... 30 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to