[ 
https://issues.apache.org/jira/browse/SPARK-18660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15711264#comment-15711264
 ] 

Hyukjin Kwon commented on SPARK-18660:
--------------------------------------

Oh, this rings a bell to me a Parquet JIRA here - 
https://issues.apache.org/jira/browse/PARQUET-220

> Parquet complains "Can not initialize counter due to context is not a 
> instance of TaskInputOutputContext, but is 
> org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl "
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-18660
>                 URL: https://issues.apache.org/jira/browse/SPARK-18660
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Yin Huai
>
> Parquet record reader always complain "Can not initialize counter due to 
> context is not a instance of TaskInputOutputContext, but is 
> org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl". Looks like we 
> always create TaskAttemptContextImpl 
> (https://github.com/apache/spark/blob/2f7461f31331cfc37f6cfa3586b7bbefb3af5547/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala#L368).
>  But, Parquet wants to use TaskInputOutputContext, which is a subclass of 
> TaskAttemptContextImpl. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to