hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohith Sharma K S <rohithsharm...@huawei.com>
Subject JobHistoryEventHandler failed with AvroTypeException.
Date Fri, 21 Feb 2014 12:05:54 GMT
Hi all,

I am using Hadoop-2.3 for Yarn Cluster.

While running job, I encountered below exception in MRAppmaster.  Why this error is logging?

2014-02-21 22:10:33,841 INFO [Thread-355] org.apache.hadoop.service.AbstractService: Service
JobHistoryEventHandler failed in state STOPPED; cause: org.apache.avro.AvroTypeException:
Attempt to process a enum when a string was expected.
org.apache.avro.AvroTypeException: Attempt to process a enum when a string was expected.
                at org.apache.avro.io.parsing.Parser.advance(Parser.java:93)
                at org.apache.avro.io.JsonEncoder.writeEnum(JsonEncoder.java:217)
                at org.apache.avro.specific.SpecificDatumWriter.writeEnum(SpecificDatumWriter.java:54)
                at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:67)
                at org.apache.avro.generic.GenericDatumWriter.writeRecord(GenericDatumWriter.java:106)
                at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:66)
                at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:58)
                at org.apache.hadoop.mapreduce.jobhistory.EventWriter.write(EventWriter.java:66)
                at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler$MetaInfo.writeEvent(JobHistoryEventHandler.java:870)
                at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.handleEvent(JobHistoryEventHandler.java:517)
                at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.serviceStop(JobHistoryEventHandler.java:332)
                at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
                at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)
                at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)
                at org.apache.hadoop.service.CompositeService.stop(CompositeService.java:159)
                at org.apache.hadoop.service.CompositeService.serviceStop(CompositeService.java:132)
                at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceStop(MRAppMaster.java:1386)
                at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
                at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.shutDownJob(MRAppMaster.java:550)
                at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$JobFinishEventHandler$1.run(MRAppMaster.java:602)

Thanks & Regards
Rohith Sharma K S

Mime
View raw message