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

Prasanth Jayachandran commented on HIVE-17881:
----------------------------------------------

Yes. I don't want to use cache :) no purging of cache yet without restart. I 
wanted to use LLAP IO since it prints FS counters but without cache as I want 
to perform a HDFS read always for some unit test. Regardless it shouldn't throw 
NPE if someone wants to disable cache but use only async io. 

> LLAP: Text cache NPE
> --------------------
>
>                 Key: HIVE-17881
>                 URL: https://issues.apache.org/jira/browse/HIVE-17881
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Prasanth Jayachandran
>
> With LLAP IO enabled and hive.llap.io.memory.mode set to false. Text cache 
> throws NPE for following query
> {code}
> select t1.k,t1.v from src t1 join src t2 on t1.k>=t2.k;
> {code}
> {code}
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.hadoop.hive.llap.io.encoded.SerDeEncodedDataReader.readFileWithCache(SerDeEncodedDataReader.java:763)
>       at 
> org.apache.hadoop.hive.llap.io.encoded.SerDeEncodedDataReader.performDataRead(SerDeEncodedDataReader.java:668)
>       at 
> org.apache.hadoop.hive.llap.io.encoded.SerDeEncodedDataReader$5.run(SerDeEncodedDataReader.java:259)
>       at 
> org.apache.hadoop.hive.llap.io.encoded.SerDeEncodedDataReader$5.run(SerDeEncodedDataReader.java:256)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:422)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1889)
>       at 
> org.apache.hadoop.hive.llap.io.encoded.SerDeEncodedDataReader.callInternal(SerDeEncodedDataReader.java:256)
>       at 
> org.apache.hadoop.hive.llap.io.encoded.SerDeEncodedDataReader.callInternal(SerDeEncodedDataReader.java:107)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to