2018-10-18 12:13:07,654 - WARN [Thread-48:o.a.h.m.LocalJobRunner@587] - job_local1835827613_0001
java.lang.Exception: java.lang.NoSuchMethodError: javax.ws.rs.core.MultivaluedMap.addAll(Ljava/lang/Object;[Ljava/lang/Object;)V
at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:489) ~[org.apache.hadoop.hadoop-mapreduce-client-common-2.8.0.jar:na]
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:549) ~[org.apache.hadoop.hadoop-mapreduce-client-common-2.8.0.jar:na]
java.lang.NoSuchMethodError: javax.ws.rs.core.MultivaluedMap.addAll(Ljava/lang/Object;[Ljava/lang/Object;)V
at org.glassfish.jersey.client.ClientRequest.accept(ClientRequest.java:326) ~[jersey-client-2.17.jar:na]
at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:229) ~[jersey-client-2.17.jar:na]
at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:59) ~[jersey-client-2.17.jar:na]
at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient$15.run(SchemaRegistryClient.java:1070) ~[schema-registry-client-0.5.1.jar:na]
at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient$15.run(SchemaRegistryClient.java:1067) ~[schema-registry-client-0.5.1.jar:na]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_31]
at javax.security.auth.Subject.doAs(Subject.java:360) ~[na:1.8.0_31]
at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.postEntity(SchemaRegistryClient.java:1067) ~[schema-registry-client-0.5.1.jar:na]
at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.doRegisterSchemaMetadata(SchemaRegistryClient.java:410) ~[schema-registry-client-0.5.1.jar:na]
at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.addSchemaMetadata(SchemaRegistryClient.java:393) ~[schema-registry-client-0.5.1.jar:na]
at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.registerSchemaMetadata(SchemaRegistryClient.java:385) ~[schema-registry-client-0.5.1.jar:na]
at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.addSchemaVersion(SchemaRegistryClient.java:438) ~[schema-registry-client-0.5.1.jar:na]
at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.addSchemaVersion(SchemaRegistryClient.java:426) ~[schema-registry-client-0.5.1.jar:na]
at com.hortonworks.registries.schemaregistry.serde.AbstractSnapshotSerializer.serialize(AbstractSnapshotSerializer.java:64) ~[schema-registry-client-0.5.1.jar:na]
at com.hortonworks.registries.schemaregistry.serdes.avro.kafka.KafkaAvroSerializer.serialize(KafkaAvroSerializer.java:86) ~[schema-registry-serdes-0.5.1.jar:na]
at org.apache.kafka.clients.producer.KafkaProducer.doSend(KafkaProducer.java:463) ~[kafka-clients-0.10.2.0.jar:na]
at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:440) ~[kafka-clients-0.10.2.0.jar:na]
at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:360) ~[kafka-clients-0.10.2.0.jar:na]
at co.cask.hydrator.plugin.sink.KafkaRecordWriter.sendMessage(KafkaRecordWriter.java:44) ~[1539844977953-0/:na]
at co.cask.hydrator.plugin.sink.KafkaRecordWriter.write(KafkaRecordWriter.java:55) ~[1539844977953-0/:na]
at co.cask.hydrator.plugin.sink.KafkaRecordWriter.write(KafkaRecordWriter.java:32) ~[1539844977953-0/:na]
at org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.write(MapTask.java:658) ~[org.apache.hadoop.hadoop-mapreduce-client-core-2.8.0.jar:na]
at org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:89) ~[org.apache.hadoop.hadoop-mapreduce-client-core-2.8.0.jar:na]MultivaluedMap class of 2,3 and 4th jar has the addAll method (javax.ws.rs.core.MultivaluedMap.addAll) but not present in {cdaphomefolder}/lib/com.sun.jersey.jersey-core-1.9.jar.
--
You received this message because you are subscribed to the Google Groups "CDAP User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+...@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/CAD8dLjwmCOzzQnusQG7XSZf-_j-ewxVeo2BCnyVYmgYOLmcoYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/CAAZMJ_WbYn7z4rYGzja50EqfkMHj3G34OOZk3K%2BacJpu9ddbqA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/CAD8dLjzV2O6vWF3qAfrARLV34Rja-uKO8DUyeHqV6tFuYdMFFw%40mail.gmail.com.
Caused by: java.lang.NoClassDefFoundError: org/glassfish/jersey/client/ClientConfig at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.createClientConfig(SchemaRegistryClient.java:364) ~[schema-registry-client-0.5.1.jar:na] at com.hortonworks.registries.schemaregistry.client.SchemaRegistryClient.<init>(SchemaRegistryClient.java:207) ~[schema-registry-client-0.5.1.jar:na] at com.hortonworks.registries.schemaregistry.serde.AbstractSerDes.init(AbstractSerDes.java:54) ~[schema-registry-client-0.5.1.jar:na] at com.hortonworks.registries.schemaregistry.serdes.avro.kafka.KafkaAvroSerializer.configure(KafkaAvroSerializer.java:73) ~[schema-registry-serdes-0.5.1.jar:na]
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/CAOtBAgiw3rwdiiRekAWytn6DxfvN2cukWYrKJ9pxve%2BmjADxUA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/CAD8dLjz6Sozeoz1svLduwScisYUU6mS%3DzjUZsE1qMvDEzHLRDA%40mail.gmail.com.