Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected
HI, I get this, did anyone know why I get an Error? I use the hadoop 0.21.0 12/01/17 14:43:43 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=30 12/01/17 14:43:43 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use mapreduce.task.attempt.id 12/01/17 14:43:44 WARN mapreduce.JobSubmitter: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. 12/01/17 14:43:44 INFO input.FileInputFormat: Total input paths to process : 1 12/01/17 14:43:44 WARN conf.Configuration: mapred.map.tasks is deprecated. Instead, use mapreduce.job.maps 12/01/17 14:43:44 INFO mapreduce.JobSubmitter: number of splits:1 12/01/17 14:43:44 INFO mapreduce.JobSubmitter: adding the following namenodes' delegation tokens:null 12/01/17 14:43:44 INFO mapreduce.Job: Running job: job_201201171433_0005 12/01/17 14:43:45 INFO mapreduce.Job: map 0% reduce 0% 12/01/17 14:44:00 INFO mapreduce.Job: Task Id : attempt_201201171433_0005_m_00_0, Status : FAILED Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected 12/01/17 14:44:09 INFO mapreduce.Job: Task Id : attempt_201201171433_0005_m_00_1, Status : FAILED Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected 12/01/17 14:44:19 INFO mapreduce.Job: Task Id : attempt_201201171433_0005_m_00_2, Status : FAILED Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected 12/01/17 14:44:31 INFO mapreduce.Job: Job complete: job_201201171433_0005 12/01/17 14:44:31 INFO mapreduce.Job: Counters: 7 Job Counters Data-local map tasks=4 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 map tasks=1 SLOTS_MILLIS_MAPS=8517 SLOTS_MILLIS_REDUCES=0 Launched map tasks=4
Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected
HI, I get this, did anyone know why I get an Error? I use the hadoop 0.21.0 12/01/17 14:43:43 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=30 12/01/17 14:43:43 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use mapreduce.task.attempt.id 12/01/17 14:43:44 WARN mapreduce.JobSubmitter: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. 12/01/17 14:43:44 INFO input.FileInputFormat: Total input paths to process : 1 12/01/17 14:43:44 WARN conf.Configuration: mapred.map.tasks is deprecated. Instead, use mapreduce.job.maps 12/01/17 14:43:44 INFO mapreduce.JobSubmitter: number of splits:1 12/01/17 14:43:44 INFO mapreduce.JobSubmitter: adding the following namenodes' delegation tokens:null 12/01/17 14:43:44 INFO mapreduce.Job: Running job: job_201201171433_0005 12/01/17 14:43:45 INFO mapreduce.Job: map 0% reduce 0% 12/01/17 14:44:00 INFO mapreduce.Job: Task Id : attempt_201201171433_0005_m_00_0, Status : FAILED Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected 12/01/17 14:44:09 INFO mapreduce.Job: Task Id : attempt_201201171433_0005_m_00_1, Status : FAILED Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected 12/01/17 14:44:19 INFO mapreduce.Job: Task Id : attempt_201201171433_0005_m_00_2, Status : FAILED Error: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected 12/01/17 14:44:31 INFO mapreduce.Job: Job complete: job_201201171433_0005 12/01/17 14:44:31 INFO mapreduce.Job: Counters: 7 Job Counters Data-local map tasks=4 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 map tasks=1 SLOTS_MILLIS_MAPS=8517 SLOTS_MILLIS_REDUCES=0 Launched map tasks=4
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_00_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_00_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_00_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
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.ca...@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_00_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_00_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 > >