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

Make parquet scanner MAX_PAGE_HEADER_SIZE configurable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.1, Impala 2.2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: