Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-2151

Drop Hadoop 2 input stream reflection from parquet-hadoop

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.13.0
    • None
    • parquet-mr
    • None

    Description

      Parquet uses reflection to load a hadoop2 input stream, falling back to a hadoop-1 compatible client if not found.

      All hadoop 2.0.2+ releases work with H2SeekableInputStream, so the binding to H2SeekableInputStream reworked to avoid needing reflection. This would make it a lot easier to probe for/use the bytebuffer input, and line the code up for more recent hadoop releases.

      H1SeekableInputStream is still needed to handle streams without ByteBufferReadable.

      At some poiint support for ByteBufferPositionedReadable is needed, because that is really what parquet wants. that's where reflection will be needed

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: