<?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 : Lineage only with REST API  not with Kafka ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Lineage-only-with-REST-API-not-with-Kafka/m-p/217134#M63834</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17573/smartdatabundle.html" nodeid="17573"&gt;@Smart Data&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am assuming that you are trying to create entities and lineage for HDFS files.  If so, then yes, you would need to use the REST API to create the lineage.  You can use the API to create the entities themselves rather than going through Kafka.&lt;/P&gt;&lt;P&gt;If you're using HDP 2.6.1, you can also create your entities through the Atlas UI as per the link below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_data-governance/content/ch_atlas_searching_and_viewing_entities.html#atlas_manually_creating_entities" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_data-governance/content/ch_atlas_searching_and_viewing_entities.html#atlas_manually_creating_entities&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Finally, below is a step-by-step example of creating entities and lineage for an HDFS file that is picked and processed by Spark and the results written back to HDFS.  It will give you a good idea of how the APIs may be leveraged.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/kbentry/91237/creating-custom-types-and-entities-in-atlas.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/91237/creating-custom-types-and-entities-in-atlas.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2017 20:10:19 GMT</pubDate>
    <dc:creator>egarelnabi</dc:creator>
    <dc:date>2017-06-28T20:10:19Z</dc:date>
    <item>
      <title>Atlas : Lineage only with REST API  not with Kafka ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Lineage-only-with-REST-API-not-with-Kafka/m-p/217133#M63833</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I used the Kafka topic (ATLAS_HOOK) to create a new entity (for hdfs_path).

It seems there is no operations to create a lineage between entities and processes (At the current version).

Should I use Kafka to create only entities &amp;amp; REST API to create lineage ?  &lt;/P&gt;&lt;P&gt;Any suggestion ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 15:40:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Lineage-only-with-REST-API-not-with-Kafka/m-p/217133#M63833</guid>
      <dc:creator>smartdatabundle</dc:creator>
      <dc:date>2017-06-28T15:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas : Lineage only with REST API  not with Kafka ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Lineage-only-with-REST-API-not-with-Kafka/m-p/217134#M63834</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17573/smartdatabundle.html" nodeid="17573"&gt;@Smart Data&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am assuming that you are trying to create entities and lineage for HDFS files.  If so, then yes, you would need to use the REST API to create the lineage.  You can use the API to create the entities themselves rather than going through Kafka.&lt;/P&gt;&lt;P&gt;If you're using HDP 2.6.1, you can also create your entities through the Atlas UI as per the link below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_data-governance/content/ch_atlas_searching_and_viewing_entities.html#atlas_manually_creating_entities" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_data-governance/content/ch_atlas_searching_and_viewing_entities.html#atlas_manually_creating_entities&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Finally, below is a step-by-step example of creating entities and lineage for an HDFS file that is picked and processed by Spark and the results written back to HDFS.  It will give you a good idea of how the APIs may be leveraged.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/kbentry/91237/creating-custom-types-and-entities-in-atlas.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/91237/creating-custom-types-and-entities-in-atlas.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 20:10:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Lineage-only-with-REST-API-not-with-Kafka/m-p/217134#M63834</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2017-06-28T20:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas : Lineage only with REST API  not with Kafka ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Lineage-only-with-REST-API-not-with-Kafka/m-p/217135#M63835</link>
      <description>&lt;P&gt;Please look at:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/115749/messaging-api-with-kafka-lineage.html" target="_blank"&gt;https://community.hortonworks.com/questions/115749/messaging-api-with-kafka-lineage.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 12:41:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Lineage-only-with-REST-API-not-with-Kafka/m-p/217135#M63835</guid>
      <dc:creator>smartdatabundle</dc:creator>
      <dc:date>2017-07-28T12:41:29Z</dc:date>
    </item>
  </channel>
</rss>

