You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/04 11:21:04 UTC

[jira] [Commented] (ATLAS-1781) Atlas UI cannot show lineage pic when inputs and outputs of lineage are the same entity

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

ASF GitHub Bot commented on ATLAS-1781:
---------------------------------------

GitHub user developersLxz opened a pull request:

    https://github.com/apache/incubator-atlas/pull/30

    fix ATLAS-1781

    fix https://issues.apache.org/jira/browse/ATLAS-1781
    
    work with qinglin,xia  
    
    Thanks :)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/developersLxz/incubator-atlas fix-ATLAS-1781

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-atlas/pull/30.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #30
    
----
commit 506e3623e4ae12ba3679b1bff6a30131c295acaa
Author: Linzs <85...@qq.com>
Date:   2017-06-04T10:54:53Z

    fix ATLAS-1781

----


> 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-core, atlas-webui
>    Affects Versions: trunk, 0.7-incubating, 0.8-incubating, 0.7.1-incubating, 0.9-incubating
>            Reporter: qinglin,xia
>            Assignee: Xinzhi,Luo
>         Attachments: browser_error.png, Lineage_Create_Successfully_when_inputs_outputs_different.png, Lineage_keep_loading.png
>
>
> 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.3.15#6346)