You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Rajesh Balamohan (Jira)" <ji...@apache.org> on 2020/05/14 08:02: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 ]

Rajesh Balamohan updated HIVE-23468:
------------------------------------
    Status: Patch Available  (was: Open)

> 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
>            Priority: Minor
>         Attachments: HIVE-23468.1.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)