You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by "Cavus,M.,Fa. Post Direkt" <M....@postdirekt.de> on 2011/01/05 10:50:05 UTC

Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected

Hi,
I get this, did anyone know why I get an Error?:


11/01/05 10:46:55 WARN conf.Configuration: fs.checkpoint.period is
deprecated. Instead, use dfs.namenode.checkpoint.period
11/01/05 10:46:55 WARN conf.Configuration: mapred.map.tasks is
deprecated. Instead, use mapreduce.job.maps
11/01/05 10:46:55 INFO mapreduce.JobSubmitter: number of splits:1
11/01/05 10:46:55 INFO mapreduce.JobSubmitter: adding the following
namenodes' delegation tokens:null
11/01/05 10:46:56 INFO mapreduce.Job: Running job: job_201101051016_0008
11/01/05 10:46:57 INFO mapreduce.Job:  map 0% reduce 0%
11/01/05 10:47:04 INFO mapreduce.Job:  map 100% reduce 0%
11/01/05 10:47:13 INFO mapreduce.Job: Task Id :
attempt_201101051016_0008_r_000000_0, Status : FAILED
Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext,
but class was expected
11/01/05 10:47:23 INFO mapreduce.Job: Task Id :
attempt_201101051016_0008_r_000000_1, Status : FAILED
Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext,
but class was expected
11/01/05 10:47:34 INFO mapreduce.Job: Task Id :
attempt_201101051016_0008_r_000000_2, Status : FAILED
Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext,
but class was expected
11/01/05 10:47:47 INFO mapreduce.Job: Job complete:
job_201101051016_0008
11/01/05 10:47:47 INFO mapreduce.Job: Counters: 19
	FileSystemCounters
		FILE_BYTES_WRITTEN=38
		HDFS_BYTES_READ=69
	Job Counters 
		Data-local map tasks=1
		Total time spent by all maps waiting after reserving
slots (ms)=0
		Total time spent by all reduces waiting after reserving
slots (ms)=0
		Failed reduce tasks=1
		SLOTS_MILLIS_MAPS=5781
		SLOTS_MILLIS_REDUCES=6379
		Launched map tasks=1
		Launched reduce tasks=4
	Map-Reduce Framework
		Combine input records=0
		Failed Shuffles=0
		GC time elapsed (ms)=97
		Map input records=0
		Map output bytes=0
		Map output records=0
		Merged Map outputs=0
		Spilled Records=0
		SPLIT_RAW_BYTES=69
11/01/05 10:47:47 INFO zookeeper.ZooKeeper: Session: 0x12d555a4ed80018
closed


Re: Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected

Posted by Sonal Goyal <so...@gmail.com>.
Which Hadoop versions are you testing and compiling against?

Thanks and Regards,
Sonal
<https://github.com/sonalgoyal/hiho>Connect Hadoop with databases,
Salesforce, FTP servers and others <https://github.com/sonalgoyal/hiho>
Nube Technologies <http://www.nubetech.co>

<http://in.linkedin.com/in/sonalgoyal>





On Wed, Jan 5, 2011 at 3:20 PM, Cavus,M.,Fa. Post Direkt <
M.Cavus@postdirekt.de> wrote:

> Hi,
> I get this, did anyone know why I get an Error?:
>
>
> 11/01/05 10:46:55 WARN conf.Configuration: fs.checkpoint.period is
> deprecated. Instead, use dfs.namenode.checkpoint.period
> 11/01/05 10:46:55 WARN conf.Configuration: mapred.map.tasks is
> deprecated. Instead, use mapreduce.job.maps
> 11/01/05 10:46:55 INFO mapreduce.JobSubmitter: number of splits:1
> 11/01/05 10:46:55 INFO mapreduce.JobSubmitter: adding the following
> namenodes' delegation tokens:null
> 11/01/05 10:46:56 INFO mapreduce.Job: Running job: job_201101051016_0008
> 11/01/05 10:46:57 INFO mapreduce.Job:  map 0% reduce 0%
> 11/01/05 10:47:04 INFO mapreduce.Job:  map 100% reduce 0%
> 11/01/05 10:47:13 INFO mapreduce.Job: Task Id :
> attempt_201101051016_0008_r_000000_0, Status : FAILED
> Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext,
> but class was expected
> 11/01/05 10:47:23 INFO mapreduce.Job: Task Id :
> attempt_201101051016_0008_r_000000_1, Status : FAILED
> Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext,
> but class was expected
> 11/01/05 10:47:34 INFO mapreduce.Job: Task Id :
> attempt_201101051016_0008_r_000000_2, Status : FAILED
> Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext,
> but class was expected
> 11/01/05 10:47:47 INFO mapreduce.Job: Job complete:
> job_201101051016_0008
> 11/01/05 10:47:47 INFO mapreduce.Job: Counters: 19
>        FileSystemCounters
>                FILE_BYTES_WRITTEN=38
>                HDFS_BYTES_READ=69
>        Job Counters
>                Data-local map tasks=1
>                Total time spent by all maps waiting after reserving
> slots (ms)=0
>                Total time spent by all reduces waiting after reserving
> slots (ms)=0
>                Failed reduce tasks=1
>                SLOTS_MILLIS_MAPS=5781
>                SLOTS_MILLIS_REDUCES=6379
>                Launched map tasks=1
>                Launched reduce tasks=4
>        Map-Reduce Framework
>                Combine input records=0
>                Failed Shuffles=0
>                GC time elapsed (ms)=97
>                Map input records=0
>                Map output bytes=0
>                Map output records=0
>                Merged Map outputs=0
>                Spilled Records=0
>                SPLIT_RAW_BYTES=69
> 11/01/05 10:47:47 INFO zookeeper.ZooKeeper: Session: 0x12d555a4ed80018
> closed
>
>