<?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: How to generate lineage between hive external table  and hive ordinary table? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-generate-lineage-between-hive-external-table/m-p/182956#M61627</link>
    <description>&lt;P&gt;Hi, Guys:&lt;/P&gt;&lt;P&gt;I am trying to using atlas to capture a lineage between the hive external table and hive ordinary table so as to make a lineage between the hive table and hbase table. &lt;/P&gt;&lt;P&gt;Here is the code I run in hive: &lt;/P&gt;&lt;PRE&gt;create table dddd(key string ,id bigint ,aname string ,bname string ,cname string)STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'WITH SERDEPROPERTIES("hbase.columns.mapping" = ":key,info:id,info:aname,info:bname,info:cname")TBLPROPERTIES("hbase.table.name" = "dddd");

insert into table datalake_demo.dddd select a.id as key, a.id, a.aname ,b.bname,c.cname from datalake_demo.a,datalake_demo.b,datalake_demo.c where d = b.id and b.id = c.id;&lt;/PRE&gt;&lt;DIV&gt;But the hive hook did not create a lineage between hive ordinary tables a, b and c with the hive external table d, I check the code and found there is no "insert into" option in hive hook to generate lineage&lt;/DIV&gt;&lt;DIV&gt;So my question is do you guys know how can I generate a lineage between hive external table and ordinary tables? &lt;/DIV&gt;&lt;DIV&gt;I am using atlas 0.7-incubating&lt;/DIV&gt;&lt;DIV&gt;Thanks so much for your help~&lt;/DIV&gt;&lt;DIV&gt;Qinglin&lt;/DIV&gt;</description>
    <pubDate>Tue, 23 May 2017 16:14:01 GMT</pubDate>
    <dc:creator>xiaqinglinv5</dc:creator>
    <dc:date>2017-05-23T16:14:01Z</dc:date>
    <item>
      <title>Atlas: How to generate lineage between hive external table  and hive ordinary table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-generate-lineage-between-hive-external-table/m-p/182956#M61627</link>
      <description>&lt;P&gt;Hi, Guys:&lt;/P&gt;&lt;P&gt;I am trying to using atlas to capture a lineage between the hive external table and hive ordinary table so as to make a lineage between the hive table and hbase table. &lt;/P&gt;&lt;P&gt;Here is the code I run in hive: &lt;/P&gt;&lt;PRE&gt;create table dddd(key string ,id bigint ,aname string ,bname string ,cname string)STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'WITH SERDEPROPERTIES("hbase.columns.mapping" = ":key,info:id,info:aname,info:bname,info:cname")TBLPROPERTIES("hbase.table.name" = "dddd");

insert into table datalake_demo.dddd select a.id as key, a.id, a.aname ,b.bname,c.cname from datalake_demo.a,datalake_demo.b,datalake_demo.c where d = b.id and b.id = c.id;&lt;/PRE&gt;&lt;DIV&gt;But the hive hook did not create a lineage between hive ordinary tables a, b and c with the hive external table d, I check the code and found there is no "insert into" option in hive hook to generate lineage&lt;/DIV&gt;&lt;DIV&gt;So my question is do you guys know how can I generate a lineage between hive external table and ordinary tables? &lt;/DIV&gt;&lt;DIV&gt;I am using atlas 0.7-incubating&lt;/DIV&gt;&lt;DIV&gt;Thanks so much for your help~&lt;/DIV&gt;&lt;DIV&gt;Qinglin&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2017 16:14:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-generate-lineage-between-hive-external-table/m-p/182956#M61627</guid>
      <dc:creator>xiaqinglinv5</dc:creator>
      <dc:date>2017-05-23T16:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas: How to generate lineage between hive external table  and hive ordinary table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-generate-lineage-between-hive-external-table/m-p/182957#M61628</link>
      <description>&lt;P&gt;The following link shows that Insert is an action supported by Hive Atlas Hook (see bottom, Limitations) &lt;A href="http://atlas.incubator.apache.org/Bridge-Hive.html" target="_blank"&gt;http://atlas.incubator.apache.org/Bridge-Hive.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note that CTAS and Load, Import are also supported.  Perhaps you can try these approaches.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 21:09:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-generate-lineage-between-hive-external-table/m-p/182957#M61628</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2017-05-23T21:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas: How to generate lineage between hive external table  and hive ordinary table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-generate-lineage-between-hive-external-table/m-p/182958#M61629</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/13737/xiaqinglinv5.html"&gt;Qinglin Xia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is the version of Atlas and HDP ?? &lt;/P&gt;&lt;P&gt;I encountered the same issue on 2.5.0.0 but see this output with 2.5.3 on how to reproduce lineage. Make sure that the Ranger Plugins for Atlas ,hbase,hive,hdfs,kafka have been enable with corresponding Ranger Policies !! see the Additional Requirements for Atlas with &lt;A target="_blank" href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_data-governance/content/ch_hdp_data_governance_install_atlas_ambari.html"&gt;Ranger and Kerberos&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have a look at the attached document running Atlas in a kerberized  the only difference if your environment is not kerberiszed s not to run the kinit:-)&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 21:59:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-generate-lineage-between-hive-external-table/m-p/182958#M61629</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-05-23T21:59:40Z</dc:date>
    </item>
  </channel>
</rss>

