<?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 Atlas rest api timeout in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116851#M79641</link>
    <description>&lt;P&gt;I am creating new entity in Atlas using rest api.  It seems to timeout out and spits out kafka timeout messages.  Any ideas?&lt;/P&gt;&lt;P&gt;$ curl -X POST -d @entity.json1 -u admin:admin -H 'Content-Type: application/json;  charset=UTF-8' x.x.x.x:21000/api/atlas/entities
{"error":"java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.","stackTrace":"org.apache.atlas.notification.NotificationException: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.\n\tat org.apache.atlas.kafka.KafkaNo&lt;/P&gt;&lt;P&gt;This is on sandbox.  Do I need to have a Kafka instance up or does Atlas have its own? &lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2016 09:47:01 GMT</pubDate>
    <dc:creator>sunile_manjee</dc:creator>
    <dc:date>2016-08-24T09:47:01Z</dc:date>
    <item>
      <title>Atlas rest api timeout</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116851#M79641</link>
      <description>&lt;P&gt;I am creating new entity in Atlas using rest api.  It seems to timeout out and spits out kafka timeout messages.  Any ideas?&lt;/P&gt;&lt;P&gt;$ curl -X POST -d @entity.json1 -u admin:admin -H 'Content-Type: application/json;  charset=UTF-8' x.x.x.x:21000/api/atlas/entities
{"error":"java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.","stackTrace":"org.apache.atlas.notification.NotificationException: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.\n\tat org.apache.atlas.kafka.KafkaNo&lt;/P&gt;&lt;P&gt;This is on sandbox.  Do I need to have a Kafka instance up or does Atlas have its own? &lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 09:47:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116851#M79641</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-08-24T09:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas rest api timeout</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116852#M79642</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;&lt;P&gt;Atlas works with both embedded as well as standalone Kafka, it depends on how Atlas is configured.&lt;/P&gt;&lt;P&gt;When Atlas config property "atlas.notification.embedded" is set to true, Kafka is started in embedded mode(as part of Atlas process) else it expects a standalone Kafka running in your cluster.&lt;/P&gt;&lt;P&gt;Regarding the Kafka timeout exception, it seems like topic does not exists. So please create the topics like below.&lt;/P&gt;&lt;PRE&gt;$KAFKA_HOME/bin/kafka-topics.sh --zookeeper $ZK_ENDPOINT --topic ATLAS_HOOK --create --partitions 1 --replication-factor $KAFKA_REPL_FACTOR
$KAFKA_HOME/bin/kafka-topics.sh --zookeeper $ZK_ENDPOINT --topic ATLAS_ENTITIES --create --partitions 1 --replication-factor $KAFKA_REPL_FACTOR&lt;/PRE&gt;&lt;P&gt;Let me know if you are still seeing this issue. Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 22:53:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116852#M79642</guid>
      <dc:creator>apathan</dc:creator>
      <dc:date>2016-08-24T22:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas rest api timeout</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116853#M79643</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/40/apathan.html" nodeid="40"&gt;@Ayub Pathan&lt;/A&gt; I assume created the topic above is using non-embedded mode.  What if I am using embbeded?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 22:58:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116853#M79643</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-08-24T22:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas rest api timeout</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116854#M79644</link>
      <description>&lt;P&gt;In case of embedded kafka, the auto create of topics is a configuration parameter in Kaka, which is set to true by default. With this setting, when a producer produces message for the first time, Kafka will automatically create the topic. No need for anything specific to be done by the client.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 23:38:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116854#M79644</guid>
      <dc:creator>apathan</dc:creator>
      <dc:date>2016-08-24T23:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas rest api timeout</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116855#M79645</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt; Is this resolved for you?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 10:26:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/116855#M79645</guid>
      <dc:creator>apathan</dc:creator>
      <dc:date>2016-09-28T10:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas rest api timeout</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/330294#M230633</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How did you solve this problem? I am facing the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 10:47:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Atlas-rest-api-timeout/m-p/330294#M230633</guid>
      <dc:creator>kunzhao</dc:creator>
      <dc:date>2021-11-16T10:47:45Z</dc:date>
    </item>
  </channel>
</rss>

