You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Riza Suminto (Jira)" <ji...@apache.org> on 2022/02/03 19:12:00 UTC

[jira] [Created] (IMPALA-11107) Allow specifying footer size in HdfsScanner::IssueFooterRanges

Riza Suminto created IMPALA-11107:
-------------------------------------

             Summary: Allow specifying footer size in HdfsScanner::IssueFooterRanges
                 Key: IMPALA-11107
                 URL: https://issues.apache.org/jira/browse/IMPALA-11107
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
    Affects Versions: Impala 4.0.0
            Reporter: Riza Suminto


Currently, FOOTER_SIZE is a constant of 100KB in HdfsScanner::IssueFooterRanges:

[https://github.com/apache/impala/blob/57982ef/be/src/exec/hdfs-scanner.cc#L832] 

Some scanner subclass such as HdfsOrcScanner expect that footer size is much lower at 16KB. We should add footer_size as parameter so different file format can ask for different footer range size.

Having more precise initial range can also help reduce waste in the data cache: 
[https://github.com/apache/impala/blob/57982ef/be/src/runtime/io/data-cache.h#L73] 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org