You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (Jira)" <ji...@apache.org> on 2020/06/13 21:10:00 UTC

[jira] [Updated] (HIVE-23468) LLAP: Optimise OrcEncodedDataReader to avoid FS init to NN

     [ https://issues.apache.org/jira/browse/HIVE-23468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan updated HIVE-23468:
------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Pushed to master. Thanks, Rajesh!

> LLAP: Optimise OrcEncodedDataReader to avoid FS init to NN
> ----------------------------------------------------------
>
>                 Key: HIVE-23468
>                 URL: https://issues.apache.org/jira/browse/HIVE-23468
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>            Priority: Minor
>             Fix For: 4.0.0
>
>         Attachments: HIVE-23468.1.patch, HIVE-23468.2.patch, HIVE-23468.3.patch, HIVE-23468.4.patch, HIVE-23468.5.patch, HIVE-23468.6.patch, HIVE-23468.7.patch, HIVE-23468.8.patch, HIVE-23468.9.patch
>
>
> OrcEncodedDataReader materializes the supplier<fs> to check if it is a HDFS system or not. This causes unwanted call to NN even in cases when cache is completely warmed up.
> [https://github.com/apache/hive/blob/master/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/OrcEncodedDataReader.java#L540]
> [https://github.com/apache/hive/blob/9f40d7cc1d889aa3079f3f494cf810fabe326e44/ql/src/java/org/apache/hadoop/hive/ql/io/HdfsUtils.java#L107]
> Workaround is to set "hive.llap.io.use.fileid.path=false" to avoid this case.
> IO elevator could get 100% cache hit from FileSystem impl in warmed up scenario.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)