<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: atlas import-hive failed with exception in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223197#M60674</link>
    <description>&lt;P&gt;I upgraded my hdp from 2.4 to 2.5 and all went good. I was able to import data but the lineage is not visible. I will create a new question for this.&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2017 09:40:26 GMT</pubDate>
    <dc:creator>brajeshreddy</dc:creator>
    <dc:date>2017-05-11T09:40:26Z</dc:date>
    <item>
      <title>atlas import-hive failed with exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223192#M60669</link>
      <description>&lt;P&gt;Apache atlas failed with below exception while running import-hive.sh.&lt;/P&gt;&lt;P&gt;2017-05-08 14:35:42,975 DEBUG - [main:] ~ Using resource &lt;A href="http://host1.hdp.com:21000/api/atlas/types" target="_blank"&gt;http://host1.hdp.com:21000/api/atlas/types&lt;/A&gt; for 0 times (AtlasClient:784)
2017-05-08 14:35:43,039 DEBUG - [main:] ~ API &lt;A href="http://host1.hdp.com:21000/api/atlas/types" target="_blank"&gt;http://host1.hdp.com:21000/api/atlas/types&lt;/A&gt; returned status 400 (AtlasClient:1191)
Exception in thread "main" org.apache.atlas.AtlasServiceException: Metadata service API CREATE_TYPE failed with status 400 (Bad Request) Response Body ({"error":"Unknown superType Referenceable in definition of type hive_storagedesc","stackTrace":"org.apache.atlas.AtlasException: Unknown superType Referenceable in definition of type hive_storagedesc\n\tat org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.validateSuperTypes(TypeSystem.java:406)\n\tat org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.step2(TypeSystem.java:433)\n\tat org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.defineTypes(TypeSystem.java:553)\n\tat org.apache.atlas.typesystem.types.TypeSystem.defineTypes(TypeSystem.java:244)\n\tat org.apache.atlas.typesystem.types.TypeSystem.defineTypes(TypeSystem.java:236)\n\tat org.apache.atlas.services.DefaultMetadataService.createType(DefaultMetadataService.java:166)\n\tat org.apache.atlas.web.resources.TypesResource.submit(TypesResource.java:84)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:606)\n\tat com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)\n\tat com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)\n\tat com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)\n\tat com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)\n\tat com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)\n\tat com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:790)\n\tat com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)\n\tat org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:67)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)\n\tat com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)\n\tat com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)\n\tat com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)\n\tat org.eclipse.jetty.server.Server.handle(Server.java:499)\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)\n\tat org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)\n\tat java.lang.Thread.run(Thread.java:745)\n"})
   at org.apache.atlas.AtlasClient.callAPIWithResource(AtlasClient.java:1209)
   at org.apache.atlas.AtlasClient.callAPIWithRetries(AtlasClient.java:785)
   at org.apache.atlas.AtlasClient.callAPI(AtlasClient.java:1214)
   at org.apache.atlas.AtlasClient.createType(AtlasClient.java:540)
   at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerHiveDataModel(HiveMetaStoreBridge.java:629)
   at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:661)
Failed to import Hive Data Model!!!
[root@host1 bin]# ./import-hive.sh &lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 16:27:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223192#M60669</guid>
      <dc:creator>brajeshreddy</dc:creator>
      <dc:date>2017-05-08T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: atlas import-hive failed with exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223193#M60670</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16846/brajeshreddy6.html" nodeid="16846"&gt;@Rajesh Reddy&lt;/A&gt;, the error says "Unknown superType Referenceable in definition of type hive_storagedesc". Referenceable is one of the system type in Atlas and is registered as a new type when Atlas starts for the first time. Can you copy the atlas application.log here to make sure if the type registration succeeded during atlas startup.&lt;/P&gt;&lt;P&gt;Can you also confirm if you can see the system type - "Referenceable" in &lt;A href="http://&amp;lt;atlas_url&amp;gt;:21000/api/atlas/types" target="_blank"&gt;http://&amp;lt;atlas_url&amp;gt;:21000/api/atlas/types&lt;/A&gt; call.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 22:56:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223193#M60670</guid>
      <dc:creator>ssubramanian</dc:creator>
      <dc:date>2017-05-08T22:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: atlas import-hive failed with exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223194#M60671</link>
      <description>&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/15224-applicationlog.tar.gz"&gt;applicationlog.tar.gz&lt;/A&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/101519/atlas-import-hive-failed-with-exception.html#"&gt;@Sarath Subramanian&lt;/A&gt;  applicationlog.tar.gz is the log file and below is the types api response.&lt;/P&gt;&lt;PRE&gt;{"results":["Process","fs_permissions","hdfs_path","Infrastructure","DataSet","fs_path","file_action"],"count":7,"requestId":"qtp996141683-11 - 901a6fbb-fc2f-4a74-8d74-ce9c58c39a11"}&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 May 2017 12:22:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223194#M60671</guid>
      <dc:creator>brajeshreddy</dc:creator>
      <dc:date>2017-05-09T12:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: atlas import-hive failed with exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223195#M60672</link>
      <description>&lt;P&gt;Just to make it clear, i have reinstalled atlas multiple times but getting stuck with the same exception.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 12:45:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223195#M60672</guid>
      <dc:creator>brajeshreddy</dc:creator>
      <dc:date>2017-05-09T12:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: atlas import-hive failed with exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223196#M60673</link>
      <description>&lt;P&gt;can you mention the version of Apache Atlas and HDP you are using?&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 23:18:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223196#M60673</guid>
      <dc:creator>ssubramanian</dc:creator>
      <dc:date>2017-05-09T23:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: atlas import-hive failed with exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223197#M60674</link>
      <description>&lt;P&gt;I upgraded my hdp from 2.4 to 2.5 and all went good. I was able to import data but the lineage is not visible. I will create a new question for this.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 09:40:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/atlas-import-hive-failed-with-exception/m-p/223197#M60674</guid>
      <dc:creator>brajeshreddy</dc:creator>
      <dc:date>2017-05-11T09:40:26Z</dc:date>
    </item>
  </channel>
</rss>

