Konstantin Shaposhnikov created PARQUET-220:
-----------------------------------------------
Summary: Unnecessary warning in ParquetRecordReader.initialize
Key: PARQUET-220
URL: https://issues.apache.org/jira/browse/PARQUET-220
Project: Parquet
Issue Type: Improvement
Affects Versions: parquet-mr_1.6.0
Reporter: Konstantin Shaposhnikov
When reading a parquet file using spark 1.3.0 lots of warnings are printed in
the log:
{noformat}
WARNING: parquet.hadoop.ParquetRecordReader: Can not initialize counter due to
context is not a instance of TaskInputOutputContext, but is
org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl
{noformat}
I have checked the source of ParquetRecordReader and found that while it checks
for context to be TaskInputOutputContext it seems to never actually rely on
this fact.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)