Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by 홍윤지, 1 year ago
Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected
via GitHub by gchen98
, 2 years ago
Found interface org.apach e.hadoop.mapreduce.TaskAttemptContext, but class was expected
java.lang.IncompatibleClassChangeError: Found 
interface 

  

org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected	at org.seqdoop.hadoop_bam.cli.Utils.getMergeableWorkFile(Utils.java:180)	at org.seqdoop.hadoop_bam.cli.CLIMergingAnySAMOutputFormat.getDefaultWorkFile(CLIMergingAnySAMOutputFormat.java:69)	at org.seqdoop.hadoop_bam.cli.CLIMergingAnySAMOutputFormat.getRecordWriter(CLIMergingAnySAMOutputFormat.java:62)	at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.(ReduceTask.java:540)	at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:614)	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389)	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAs(Subject.java:415)	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)