You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by Stefán Baxter <st...@activitystream.com> on 2016/02/08 21:37:07 UTC

Issue with compression :: Using Drill 1.5 and parquet-mr/parquet-avro 1.8.1

Hi,

I'm using following Avro Parquet writer to convert our Avro to Parquet:

writer = AvroParquetWriter

        .builder( new Path( parquetFile.getPath() ))
        .withSchema(schema)
        .enableDictionaryEncoding()
        .withDataModel(ReflectData.get())
        .withWriterVersion(ParquetProperties.WriterVersion.PARQUET_2_0)
        //.withCompressionCodec(CompressionCodecName.SNAPPY)
        .withDictionaryPageSize(2*1024*1024)
        .build();

It works well without the compression but if I turn it on then drill hangs
on any queries and does not recover.

Does anyone have experience in this or ides on why this is happening?

Regards,
 -Stefán