Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

yarn ats2 mapreduce error

yarn ats2 mapreduce error

Expert Contributor

Hello.

Can anyone help me to understand why my Sqoop job don't work?

I have Sqoop job with this error:

 

2019-10-11T14:36:05,566 ERROR [Job ATS Event Dispatcher] org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler - Exception while publishing configs on JOB_SUBMITTED Event  for the job : job_1570791277869_0002
org.apache.hadoop.yarn.exceptions.YarnException: Failed while publishing entity
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl$TimelineEntityDispatcher.dispatchEntities(TimelineV2ClientImpl.java:548) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl.putEntities(TimelineV2ClientImpl.java:149) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.publishConfigsOnJobSubmittedEvent(JobHistoryEventHandler.java:1254) [hadoop-mapreduce-client-app-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.processEventForNewTimelineService(JobHistoryEventHandler.java:1414) [hadoop-mapreduce-client-app-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.handleTimelineEvent(JobHistoryEventHandler.java:742) [hadoop-mapreduce-client-app-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.access$1200(JobHistoryEventHandler.java:93) [hadoop-mapreduce-client-app-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler$ForwardingEventHandler.handle(JobHistoryEventHandler.java:1795) [hadoop-mapreduce-client-app-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler$ForwardingEventHandler.handle(JobHistoryEventHandler.java:1791) [hadoop-mapreduce-client-app-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:197) [hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:126) [hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
Caused by: java.lang.NoSuchMethodErrorcom.fasterxml.jackson.databind.util.BeanUtil.okNameForGetter(Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;Z)Ljava/lang/String;
    at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.findNameForSerialization(JaxbAnnotationIntrospector.java:937) ~[jackson-module-jaxb-annotations-2.9.5.jar:2.9.5]
    at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addGetterMethod(POJOPropertiesCollector.java:519) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addMethods(POJOPropertiesCollector.java:482) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collect(POJOPropertiesCollector.java:234) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.collectProperties(BasicClassIntrospector.java:142) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:68) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:11) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.SerializationConfig.introspect(SerializationConfig.java:530) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:133) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1077) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1037) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.SerializerProvider.findValueSerializer(SerializerProvider.java:445) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.SerializerProvider.findTypedValueSerializer(SerializerProvider.java:599) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:93) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:610) ~[kite-data-mapreduce-1.0.0.3.1.0.0-78.jar:?]
    at com.fasterxml.jackson.jaxrs.base.ProviderBase.writeTo(ProviderBase.java:625) ~[jackson-jaxrs-base-2.9.5.jar:2.9.5]
    at com.sun.jersey.api.client.RequestWriter.writeRequestEntity(RequestWriter.java:300) ~[jersey-client-1.19.jar:1.19]
    at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:217) ~[jersey-client-1.19.jar:1.19]
    at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:153) ~[jersey-client-1.19.jar:1.19]
    at com.sun.jersey.api.client.Client.handle(Client.java:652) ~[jersey-client-1.19.jar:1.19]
    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682) ~[jersey-client-1.19.jar:1.19]
    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) ~[jersey-client-1.19.jar:1.19]
    at com.sun.jersey.api.client.WebResource$Builder.put(WebResource.java:539) ~[jersey-client-1.19.jar:1.19]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl.doPutObjects(TimelineV2ClientImpl.java:291) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl.access$000(TimelineV2ClientImpl.java:66) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl$1.run(TimelineV2ClientImpl.java:302) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl$1.run(TimelineV2ClientImpl.java:299) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_222]
    at javax.security.auth.Subject.doAs(Subject.java:422) ~[?:1.8.0_222]
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730) ~[hadoop-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl.putObjects(TimelineV2ClientImpl.java:299) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl.putObjects(TimelineV2ClientImpl.java:251) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl$EntitiesHolder$1.call(TimelineV2ClientImpl.java:374) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl$EntitiesHolder$1.call(TimelineV2ClientImpl.java:367) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_222]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl$TimelineEntityDispatcher$1.publishWithoutBlockingOnQueue(TimelineV2ClientImpl.java:495) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at org.apache.hadoop.yarn.client.api.impl.TimelineV2ClientImpl$TimelineEntityDispatcher$1.run(TimelineV2ClientImpl.java:433) ~[hadoop-yarn-common-3.1.1.3.1.0.0-78.jar:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_222]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_222]
    ... 1 more
1 REPLY 1

Re: yarn ats2 mapreduce error

Expert Contributor

what does it mean?

Caused by: java.lang.NoSuchMethodErrorcom.fasterxml.jackson.databind.util.BeanUtil.okNameForGetter(Lcom/fasterxml/jackson/databind/introspect/AnnotatedMethod;Z)Ljava/lang/String;
Don't have an account?
Coming from Hortonworks? Activate your account here