Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
None
-
None
-
None
Description
While testing the Hive hook with latest storm-hive package from http://repo.hortonworks.com/content/repositories/releases (to be included in the next Apache Storm release), it was found that the Storm hook fails with an exception of this nature:
3209 [main] INFO o.a.a.s.h.StormAtlasHook - Collecting metadata for a new storm topology: kafka-to-hive Jan 22, 2016 3:33:43 PM com.sun.jersey.api.client.ClientResponse getEntity SEVERE: A message body reader for Java class java.lang.String, and Java type class java.lang.String, and MIME media type application/json; charset=UTF-8 was not found Jan 22, 2016 3:33:43 PM com.sun.jersey.api.client.ClientResponse getEntity SEVERE: The registered message body readers compatible with the MIME media type are: application/json; charset=UTF-8 -> com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$App com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$App com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$App com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$App com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$App */* -> com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$General com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$General com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$General com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$General com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$General com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Atlas hook is unable to process the topology. at backtype.storm.StormSubmitter.invokeSubmitterHook(StormSubmitter.java:264) at backtype.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:252) at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:285) at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:157) at com.dsinpractice.storm.samples.WordCountTopology.main(WordCountTopology.java:78) Caused by: java.lang.RuntimeException: Atlas hook is unable to process the topology. at org.apache.atlas.storm.hook.StormAtlasHook.notify(StormAtlasHook.java:122) at backtype.storm.StormSubmitter.invokeSubmitterHook(StormSubmitter.java:261) ... 4 more Caused by: com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class java.lang.String, and Java type class java.lang.String, and MIME media type application/json; charset=UTF-8 was not found at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:549) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:506) at org.apache.atlas.AtlasClient.callAPIWithResource(AtlasClient.java:588) at org.apache.atlas.AtlasClient.callAPIWithResource(AtlasClient.java:579) at org.apache.atlas.AtlasClient.getType(AtlasClient.java:257) at org.apache.atlas.storm.hook.StormAtlasHook.registerDataModel(StormAtlasHook.java:390) at org.apache.atlas.storm.hook.StormAtlasHook.notify(StormAtlasHook.java:102) ... 5 more
Attachments
Issue Links
- blocks
-
AMBARI-14920 Support Atlas / Storm integration
- Resolved
- is related to
-
ATLAS-512 Decouple currently integrating components from availability of Atlas service for raising metadata events
- Resolved