You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by abhijeet gaikwad <ab...@gmail.com> on 2017/11/09 00:31:48 UTC

CompressionCodecFactory in LineRecordReader

Hello,

I see that the LineRecordReader uses CompressionCodecFactory and tries to
guess codec using file name extension. Currently this logic is case
sensitive, for example it will work for "*.gz" but not "*.GZ". Do you see
any challenges if we make this case insensitive - to be precise logic in
getCodec(Path file) method of CompressionCodecFactory?

Thanks,
Abhijeet