You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2016/01/22 15:07:39 UTC

[jira] [Assigned] (ATLAS-454) Storm hook is missing jersey client dependencies

     [ https://issues.apache.org/jira/browse/ATLAS-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hemanth Yamijala reassigned ATLAS-454:
--------------------------------------

    Assignee: Hemanth Yamijala

> Storm hook is missing jersey client dependencies
> ------------------------------------------------
>
>                 Key: ATLAS-454
>                 URL: https://issues.apache.org/jira/browse/ATLAS-454
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Hemanth Yamijala
>            Assignee: Hemanth Yamijala
>
> 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:
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)