<?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: Apache atlas [import-hive.sh failed] in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/329901#M44077</link>
    <description>&lt;P&gt;Hello，I met the same question as yours, but I really dont understand what the links say in your posts, could I get your explaination? just add the value of&amp;nbsp;&lt;SPAN&gt;atlas.rest.address can solve this problem? But I have already add&amp;nbsp;atlas.rest.address&amp;nbsp;= &amp;lt;Atlas-host&amp;gt;:&amp;lt;port&amp;gt; property to atlas-application.properties，By the way, I am using atlas 1.2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my atlas-application.properties:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;atlas.graph.storage.backend=hbase
atlas.graph.storage.hbase.table=apache_atlas_janus


atlas.graph.storage.hostname=gaoenwei66.cmp3481.interconnect,gaoenwei67.cmp3481.interconnect,gaoenwei65.cmp3481.interconnect
atlas.graph.storage.hbase.regions-per-server=1
atlas.graph.storage.lock.wait-time=10000

atlas.EntityAuditRepository.impl=org.apache.atlas.repository.audit.HBaseBasedAuditRepository

atlas.graph.index.search.backend=elasticsearch
atlas.graph.index.search.index-name=es_janusgraph

atlas.graph.index.search.hostname=gaoenwei70.cmp3481.interconnect,gaoenwei68.cmp3481.interconnect,gaoenwei65.cmp3481.interconnect
atlas.graph.index.search.elasticsearch.client-only=true

atlas.graph.index.search.max-result-set-size=150

atlas.notification.embedded=false
#atlas.kafka.data=${sys:atlas.home}/data/kafka
atlas.kafka.zookeeper.connect=gaoenwei67.cmp3481.interconnect:2181,gaoenwei66.cmp3481.interconnect:2181,gaoenwei65.cmp3481.interconnect:2181
atlas.kafka.bootstrap.servers=gaoenwei67.cmp3481.interconnect:2181,gaoenwei66.cmp3481.interconnect:2181,gaoenwei65.cmp3481.interconnect:9092
atlas.kafka.zookeeper.session.timeout.ms=400
atlas.kafka.zookeeper.connection.timeout.ms=200
atlas.kafka.zookeeper.sync.time.ms=20
atlas.kafka.auto.commit.interval.ms=1000
atlas.kafka.hook.group.id=atlas

atlas.kafka.enable.auto.commit=false
atlas.kafka.auto.offset.reset=earliest
atlas.kafka.session.timeout.ms=30000
atlas.kafka.offsets.topic.replication.factor=2
atlas.kafka.poll.timeout.ms=1000

atlas.notification.hook.topic.name=ATLAS_HOOK
atlas.notification.entities.topic.name=ATLAS_ENTITIES
 
atlas.notification.hook.consumer.topic.names=ATLAS_HOOK
atlas.notification.entities.consumer.topic.names=ATLAS_ENTITIES

atlas.notification.create.topics=false
atlas.notification.replicas=2
atlas.notification.topics=ATLAS_HOOK,ATLAS_ENTITIES
atlas.notification.log.failed.messages=true
atlas.notification.consumer.retry.interval=500
atlas.notification.hook.retry.interval=1000

atlas.enableTLS=false

atlas.authentication.method.kerberos=false
atlas.authentication.method.file=true

#### ldap.type= LDAP or AD
atlas.authentication.method.ldap.type=none

#### user credentials file
atlas.authentication.method.file.filename=${sys:atlas.home}/conf/users-credentials.properties

atlas.rest.address=http://172.21.42.78:21000/
# If enabled and set to true, this will run setup steps when the server starts
atlas.server.run.setup.on.start=false

atlas.audit.hbase.tablename=apache_atlas_entity_audit
atlas.audit.zookeeper.session.timeout.ms=1000
atlas.audit.hbase.zookeeper.quorum=gaoenwei66.cmp3481.interconnect,gaoenwei67.cmp3481.interconnect,gaoenwei65.cmp3481.interconnect:2181

atlas.server.ha.enabled=false

atlas.authorizer.impl=simple
atlas.authorizer.simple.authz.policy.file=atlas-simple-authz-policy.json

atlas.rest-csrf.enabled=true
atlas.rest-csrf.browser-useragents-regex=^Mozilla.*,^Opera.*,^Chrome.*
atlas.rest-csrf.methods-to-ignore=GET,OPTIONS,HEAD,TRACE
atlas.rest-csrf.custom-header=X-XSRF-HEADER

atlas.metric.query.cache.ttlInSecs=900
atlas.search.gremlin.enable=false

atlas.hook.hive.synchronous=false
atlas.hook.hive.numRetries=3
atlas.hook.hive.queueSize=10000
atlas.cluster.name=primary
 
atlas.hook.hbase.synchronous=false
atlas.hook.hbase.numRetries=3 
atlas.hook.hbase.queueSize=10000 
atlas.cluster.name=primary&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really need your help, wish for your answer&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 02:37:09 GMT</pubDate>
    <dc:creator>Minyan</dc:creator>
    <dc:date>2021-11-10T02:37:09Z</dc:date>
    <item>
      <title>Apache atlas [import-hive.sh failed]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141431#M44072</link>
      <description>&lt;P&gt;Atlas error while running import-hive.sh&lt;/P&gt;&lt;P&gt;Anycan help me..complete stack trace as below.&lt;/P&gt;&lt;P&gt;2016-10-20 19:23:36,626 DEBUG - [main:] ~ Using resource &lt;A href="http://ServerName:21000/api/atlas/entities/4dc94048-3f95-42f7-ae5f-6e9b5baea06d" target="_blank"&gt;http://ServerName:21000/api/atlas/entities/4dc94048-3f95-42f7-ae5f-6e9b5baea06d&lt;/A&gt; for 0 times (AtlasClient:784)
2016-10-20 19:24:36,673 WARN  - [main:] ~ Handled exception in calling api api/atlas/entities (AtlasClient:791)
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out
  at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
  at com.sun.jersey.api.client.filter.HTTPBasicAuthFilter.handle(HTTPBasicAuthFilter.java:81)
  at com.sun.jersey.api.client.Client.handle(Client.java:648)
  at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
  at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
  at com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:623)
  at org.apache.atlas.AtlasClient.callAPIWithResource(AtlasClient.java:1188)
  at org.apache.atlas.AtlasClient.callAPIWithRetries(AtlasClient.java:785)
  at org.apache.atlas.AtlasClient.callAPI(AtlasClient.java:1214)
  at org.apache.atlas.AtlasClient.updateEntity(AtlasClient.java:808)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.updateInstance(HiveMetaStoreBridge.java:506)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerDatabase(HiveMetaStoreBridge.java:159)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importDatabases(HiveMetaStoreBridge.java:124)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importHiveMetadata(HiveMetaStoreBridge.java:118)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:662)
Caused by: java.net.SocketTimeoutException: Read timed out
  at java.net.SocketInputStream.socketRead0(Native Method)
  at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  at java.net.SocketInputStream.read(SocketInputStream.java:170)
  at java.net.SocketInputStream.read(SocketInputStream.java:141)
  at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
  at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
  at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
  at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
  at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
  at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
  at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
  at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
  ... 14 more
2016-10-20 19:24:36,675 WARN  - [main:] ~ Exception's cause: class java.net.SocketTimeoutException (AtlasClient:792)
Exception in thread "main" com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out
  at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
  at com.sun.jersey.api.client.filter.HTTPBasicAuthFilter.handle(HTTPBasicAuthFilter.java:81)
  at com.sun.jersey.api.client.Client.handle(Client.java:648)
  at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
  at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
  at com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:623)
  at org.apache.atlas.AtlasClient.callAPIWithResource(AtlasClient.java:1188)
  at org.apache.atlas.AtlasClient.callAPIWithRetries(AtlasClient.java:785)
  at org.apache.atlas.AtlasClient.callAPI(AtlasClient.java:1214)
  at org.apache.atlas.AtlasClient.updateEntity(AtlasClient.java:808)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.updateInstance(HiveMetaStoreBridge.java:506)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerDatabase(HiveMetaStoreBridge.java:159)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importDatabases(HiveMetaStoreBridge.java:124)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importHiveMetadata(HiveMetaStoreBridge.java:118)
  at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:662)
Caused by: java.net.SocketTimeoutException: Read timed out
  at java.net.SocketInputStream.socketRead0(Native Method)
  at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  at java.net.SocketInputStream.read(SocketInputStream.java:170)
  at java.net.SocketInputStream.read(SocketInputStream.java:141)
  at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
  at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
  at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
  at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
  at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
  at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
  at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
  at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
  ... 14 more
Failed to import Hive Data Model!!!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 21:06:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141431#M44072</guid>
      <dc:creator>bkhanna</dc:creator>
      <dc:date>2016-10-20T21:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Apache atlas [import-hive.sh failed]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141432#M44073</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/40/apathan.html" nodeid="40"&gt;@Ayub Khan&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I have seen you have resolved similar kind of problem with Atlas, could you please help me on the same&lt;/P&gt;&lt;P&gt;i used some references&lt;/P&gt;&lt;P&gt;&lt;A href="http://atlas.incubator.apache.org/0.7.0-incubating/Bridge-Hive.html"&gt;http://atlas.incubator.apache.org/0.7.0-incubating/Bridge-Hive.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/39839/how-to-import-metadata-from-hive-into-atlas-and-th.html"&gt;https://community.hortonworks.com/questions/39839/how-to-import-metadata-from-hive-into-atlas-and-th.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;Bhupesh Khanna&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 21:42:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141432#M44073</guid>
      <dc:creator>bkhanna</dc:creator>
      <dc:date>2016-10-20T21:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Apache atlas [import-hive.sh failed]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141433#M44074</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/13728/bkhanna.html" nodeid="13728"&gt;@Bhupesh Khanna&lt;/A&gt;&lt;P&gt;Please provide more details about your cluster. Is your cluster kerberized? Is ranger enabled? which version of HDP you have installed?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 22:39:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141433#M44074</guid>
      <dc:creator>apathan</dc:creator>
      <dc:date>2016-10-20T22:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apache atlas [import-hive.sh failed]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141434#M44075</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/40/apathan.html" nodeid="40"&gt;@Ayub Khan
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Below are the answers
&lt;A rel="user" href="https://community.cloudera.com/users/40/apathan.html" nodeid="40"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Is your cluster kerberized? - No&lt;/P&gt;&lt;P&gt;Is ranger enabled? - Yes&lt;/P&gt;&lt;P&gt;which version of HDP you have installed? - HDP-2.5.0.0&lt;/P&gt;&lt;P&gt;please let me know if more information is required.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhupesh Khanna&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 12:03:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141434#M44075</guid>
      <dc:creator>bkhanna</dc:creator>
      <dc:date>2016-10-21T12:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Apache atlas [import-hive.sh failed]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141435#M44076</link>
      <description>&lt;P&gt;Starting Kafka fixed this issue for me!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 16:20:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/141435#M44076</guid>
      <dc:creator>jannik_franz</dc:creator>
      <dc:date>2016-11-10T16:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apache atlas [import-hive.sh failed]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/329901#M44077</link>
      <description>&lt;P&gt;Hello，I met the same question as yours, but I really dont understand what the links say in your posts, could I get your explaination? just add the value of&amp;nbsp;&lt;SPAN&gt;atlas.rest.address can solve this problem? But I have already add&amp;nbsp;atlas.rest.address&amp;nbsp;= &amp;lt;Atlas-host&amp;gt;:&amp;lt;port&amp;gt; property to atlas-application.properties，By the way, I am using atlas 1.2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my atlas-application.properties:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;atlas.graph.storage.backend=hbase
atlas.graph.storage.hbase.table=apache_atlas_janus


atlas.graph.storage.hostname=gaoenwei66.cmp3481.interconnect,gaoenwei67.cmp3481.interconnect,gaoenwei65.cmp3481.interconnect
atlas.graph.storage.hbase.regions-per-server=1
atlas.graph.storage.lock.wait-time=10000

atlas.EntityAuditRepository.impl=org.apache.atlas.repository.audit.HBaseBasedAuditRepository

atlas.graph.index.search.backend=elasticsearch
atlas.graph.index.search.index-name=es_janusgraph

atlas.graph.index.search.hostname=gaoenwei70.cmp3481.interconnect,gaoenwei68.cmp3481.interconnect,gaoenwei65.cmp3481.interconnect
atlas.graph.index.search.elasticsearch.client-only=true

atlas.graph.index.search.max-result-set-size=150

atlas.notification.embedded=false
#atlas.kafka.data=${sys:atlas.home}/data/kafka
atlas.kafka.zookeeper.connect=gaoenwei67.cmp3481.interconnect:2181,gaoenwei66.cmp3481.interconnect:2181,gaoenwei65.cmp3481.interconnect:2181
atlas.kafka.bootstrap.servers=gaoenwei67.cmp3481.interconnect:2181,gaoenwei66.cmp3481.interconnect:2181,gaoenwei65.cmp3481.interconnect:9092
atlas.kafka.zookeeper.session.timeout.ms=400
atlas.kafka.zookeeper.connection.timeout.ms=200
atlas.kafka.zookeeper.sync.time.ms=20
atlas.kafka.auto.commit.interval.ms=1000
atlas.kafka.hook.group.id=atlas

atlas.kafka.enable.auto.commit=false
atlas.kafka.auto.offset.reset=earliest
atlas.kafka.session.timeout.ms=30000
atlas.kafka.offsets.topic.replication.factor=2
atlas.kafka.poll.timeout.ms=1000

atlas.notification.hook.topic.name=ATLAS_HOOK
atlas.notification.entities.topic.name=ATLAS_ENTITIES
 
atlas.notification.hook.consumer.topic.names=ATLAS_HOOK
atlas.notification.entities.consumer.topic.names=ATLAS_ENTITIES

atlas.notification.create.topics=false
atlas.notification.replicas=2
atlas.notification.topics=ATLAS_HOOK,ATLAS_ENTITIES
atlas.notification.log.failed.messages=true
atlas.notification.consumer.retry.interval=500
atlas.notification.hook.retry.interval=1000

atlas.enableTLS=false

atlas.authentication.method.kerberos=false
atlas.authentication.method.file=true

#### ldap.type= LDAP or AD
atlas.authentication.method.ldap.type=none

#### user credentials file
atlas.authentication.method.file.filename=${sys:atlas.home}/conf/users-credentials.properties

atlas.rest.address=http://172.21.42.78:21000/
# If enabled and set to true, this will run setup steps when the server starts
atlas.server.run.setup.on.start=false

atlas.audit.hbase.tablename=apache_atlas_entity_audit
atlas.audit.zookeeper.session.timeout.ms=1000
atlas.audit.hbase.zookeeper.quorum=gaoenwei66.cmp3481.interconnect,gaoenwei67.cmp3481.interconnect,gaoenwei65.cmp3481.interconnect:2181

atlas.server.ha.enabled=false

atlas.authorizer.impl=simple
atlas.authorizer.simple.authz.policy.file=atlas-simple-authz-policy.json

atlas.rest-csrf.enabled=true
atlas.rest-csrf.browser-useragents-regex=^Mozilla.*,^Opera.*,^Chrome.*
atlas.rest-csrf.methods-to-ignore=GET,OPTIONS,HEAD,TRACE
atlas.rest-csrf.custom-header=X-XSRF-HEADER

atlas.metric.query.cache.ttlInSecs=900
atlas.search.gremlin.enable=false

atlas.hook.hive.synchronous=false
atlas.hook.hive.numRetries=3
atlas.hook.hive.queueSize=10000
atlas.cluster.name=primary
 
atlas.hook.hbase.synchronous=false
atlas.hook.hbase.numRetries=3 
atlas.hook.hbase.queueSize=10000 
atlas.cluster.name=primary&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really need your help, wish for your answer&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 02:37:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-atlas-import-hive-sh-failed/m-p/329901#M44077</guid>
      <dc:creator>Minyan</dc:creator>
      <dc:date>2021-11-10T02:37:09Z</dc:date>
    </item>
  </channel>
</rss>

