atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "qinglin,xia (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ATLAS-1781) Atlas UI cannot show lineage pic when inputs and outputs of lineage are the same entity
Date Thu, 15 Jun 2017 10:56:00 GMT

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

qinglin,xia edited comment on ATLAS-1781 at 6/15/17 10:55 AM:
--------------------------------------------------------------

[~kevalbhatt] Hi, Bhatt, thanks for your reply. 
But for your first expected point, I have did some tests and found that entities of Process
type would not be shown on a blue color with gear icon on it, but when I used LoadProcess
type and set time_dim as the input and output, the loadProcess node is a blue one, I think
it might be a bug of Atlas. 

Please check the "Process_Type_Not_Blue" pic, the node test and test1 are both of Process
type, and the node test2 is of "LoadProcess" type. 

Steps to reproduce: 
1. create a Process type entity test, set input and output to time_dim
2. create a Process type entity test1, set input to time_dim, output to sales_fact_monthly
3. create a LoadProcess type entity test2, set input and output to sales_fact_monthly


was (Author: xiaqinglin):
[~kevalbhatt] Hi, Bhatt, thanks for your reply. 
But for your first expected point, I have did some tests and found that entities of Process
type would not be shown on a blue color with gear icon on it, but when I used LoadProcess
type and set time_dim as the input and output, or time_dim as input, the loadProcess node
is a blue one, I think it might be another bug. 

Please check the "Process_Type_Not_Blue" pic, the node test and test1 are both of Process
type, and the node test2 is of "LoadProcess" type. 

Steps to reproduce: 
1. create a Process type entity test, set input and output to time_dim
2. create a Process type entity test1, set input to time_dim, output to sales_fact_monthly
3. create a LoadProcess type entity test2, set input and output to sales_fact_monthly

> Atlas UI cannot show lineage pic when inputs and outputs of lineage are the same entity
> ---------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1781
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1781
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-webui
>    Affects Versions: trunk, 0.7-incubating, 0.8-incubating, 0.7.1-incubating, 0.9-incubating
>            Reporter: qinglin,xia
>            Assignee: Xinzhi,Luo
>              Labels: atlas
>             Fix For: 0.9-incubating
>
>         Attachments: 0001-fix-ATLAS-1781.patch, 0001-fix-not-working-with-more-than-2-nodes-with-ATLAS-17.patch,
after_test-wrong_op.png, browser_error.png, expected.png, fixed.png, Linage fix not working
with more than 2 nodes with ATLAS-1781.png, Lineage_Create_Successfully_when_inputs_outputs_different.png,
Lineage_keep_loading.png, Process_Type_Not_Blue.png, Starting_point_is_Impact_than_icon&arrow_colour_is_wrong(KEVAL_2_review).jpg
>
>
> I was working with the lineage for hbase, when I added a column family in a hbase table,
I want to create a lineage for the table to show there is a change within the table schema,
yet when I create a process using the atlas api, I found that the process entity is successfully
created, but the lineage is not shown on the atlas web page.
> Steps to Reproduce this issue is: 
> 1. build up an entity extends the DataSet Type
> 2. build up a lineage Process
> 3. set the process input and output to the same entity
> The code is like:
> Referenceable table1 = atlasClient.getEntity(HBaseDataTypes.HBASE_TABLE_TYPE_NAME, AtlasClient.REFERENCEABLE_ATTRIBUTE_NAME,
input_table_name);
> Referenceable table2 = atlasClient.getEntity(HBaseDataTypes.HBASE_TABLE_TYPE_NAME, AtlasClient.REFERENCEABLE_ATTRIBUTE_NAME,
output_table_name);
> HBaseProcess process = new HBaseProcess("process");
> process.setInput(table1.getId());
> process.setoutput(table2.getId());
> here I set the input_table_name and output_table_name the same string name, when I set
them different values, the lineage pic can be shown for table1 and table2 successfully
> Screenshots are:
> 1) The lineage pic keep loading on the atlas UI 
> 2) The error log reported by the browser console
> 3) The lineage pic showed successfully when set the inputs and outputs of the lineage
to different entities.  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message