Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2273

Make parquet scanner MAX_PAGE_HEADER_SIZE configurable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.1, Impala 2.2
    • Component/s: None
    • Labels:
      None

      Description

      Parquet file page headers can get arbitrarily large because of page statistics. For example, the statistics will store the min/max value of string columns, which might be very long strings.
      Currently Impala hard coded MAX_PAGE_HEADER_SIZE to 8M so it cannot access parquet file that has large page headers.
      We should make MAX_PAGE_HEADER_SIZE configurable. but we should also be careful and make sure a corrupt file could not cause Impala to try to buffer the entire file in memory.

        Attachments

          Activity

            People

            • Assignee:
              bharathv Bharath Vissapragada
              Reporter:
              jyu@cloudera.com Juan Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: