atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vimal Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ATLAS-454) Storm hook is missing jersey client dependencies
Date Wed, 11 May 2016 11:05:12 GMT

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

Vimal Sharma reassigned ATLAS-454:
----------------------------------

    Assignee: Vimal Sharma  (was: 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: Vimal Sharma
>             Fix For: trunk
>
>
> 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)

Mime
View raw message