atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-876) No lineage for a re-created ctas table
Date Wed, 13 Jul 2016 09:05:20 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374643#comment-15374643
] 

Shwetha G S commented on ATLAS-876:
-----------------------------------

Same hive_process is used for both lineages. For the hive process, the outputs is now updated
to contain both the new and old deleted table. Verified that even UI displays this info correctly

> No lineage for a re-created ctas table
> --------------------------------------
>
>                 Key: ATLAS-876
>                 URL: https://issues.apache.org/jira/browse/ATLAS-876
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Ayub Khan
>            Assignee: Shwetha G S
>            Priority: Critical
>
> No lineage for a re-created ctas table
> Steps to reproduce:
> create table account (name String, balance Int);
> create table account_ctas as select * from account;
> drop table account_ctas;
> create table account_ctas as select * from account;
> Empty responses from server for recreated ctas
> {noformat}
> curl 'http://localhost:21000/api/atlas/lineage/ebd6a5a9-8453-4dbd-b8d9-1575a464ebc3/inputs/graph'
-H 'Cookie: JSESSIONID=12rn8aybkawa5ewiqdb2hv663' -H 'Accept-Encoding: gzip, deflate, sdch'
-H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS
X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36' -H 'Accept:
application/json, text/javascript, */*; q=0.01' -H 'Referer: http://localhost:21000/index.html'
-H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' --compressed | python -m
json.tool
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   237    0   237    0     0    281      0 --:--:-- --:--:-- --:--:--   281
> {
>     "requestId": "qtp1211076369-876 - ad29b29b-7faf-44f2-a2bd-8bbb00f07120",
>     "results": {
>         "jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
>         "typeName": "__tempQueryResultStruct135",
>         "values": {
>             "edges": {},
>             "vertices": {}
>         }
>     }
> }
> curl 'http://localhost:21000/api/atlas/lineage/ebd6a5a9-8453-4dbd-b8d9-1575a464ebc3/outputs/graph'
-H 'Cookie: JSESSIONID=12rn8aybkawa5ewiqdb2hv663' -H 'Accept-Encoding: gzip, deflate, sdch'
-H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS
X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36' -H 'Accept:
application/json, text/javascript, */*; q=0.01' -H 'Referer: http://localhost:21000/index.html'
-H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' --compressed | python -m
json.tool
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   238    0   238    0     0    271      0 --:--:-- --:--:-- --:--:--   271
> {
>     "requestId": "qtp1211076369-1104 - ee65b8d3-0cf9-4477-a644-d93aab6b625b",
>     "results": {
>         "jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
>         "typeName": "__tempQueryResultStruct141",
>         "values": {
>             "edges": {},
>             "vertices": {}
>         }
>     }
> }
> {noformat}
> UI snapshot: https://monosnap.com/file/3XcCcffPjrayjLaIByWcjBHU4k2pgV



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message