You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@atlas.apache.org by Connie Chen <co...@gmail.com> on 2018/04/04 19:11:45 UTC

Lineage breaking when adding an extra node

Hi, does anyone know why the lineage for a dataset would disappear as more
nodes are added? I am not sure how to debug this. I see some 404 errors and
this in the console when I try to load the page:

Uncaught RangeError: Maximum call stack size exceeded
>     at keys (<anonymous>)
>     at Function.s.keys (underscore-min.js?bust=1519685834833:1)
>     at Function.s.isMatch (underscore-min.js?bust=1519685834833:1)
>     at underscore-min.js?bust=1519685834833:1
>     at underscore-min.js?bust=1519685834833:1
>     at Function.s.each.s.forEach (underscore-min.js?bust=1519685834833:1)
>     at Function.s.filter.s.select (underscore-min.js?bust=1519685834833:1)
>     at Function.s.where (underscore-min.js?bust=1519685834833:1)
>     at N.d.checkForLineageOrImpactFlag
> (LineageLayoutView.js?bust=1519685834833:80)
>     at LineageLayoutView.js?bust=1519685834833:94


I also see a lot of messages like

{"errorCode":"ATLAS-404-00-005","errorMessage":"Given instance guid
> d4717984-a5bc-4f4d-90b7-9299e90e62f6 is invalid/not found"}


But in my browser I am able to navigate to it via:
https://atlas-server.corp.stripe.com/index.html#!/detailPage/d4717984-a5bc-4f4d-90b7-9299e90e62f6

My use case is, I post a process A with a bunch of inputs and outputs and I
see lineage in the outputs. Then, I post another process B with process A's
outputs as process B's inputs. Then when I reload the page of process A's
outputs, the lineage disappears and I get the above errors.

Are there any restrictions to lineage or how it is displayed? Why would
existing lineage disappear after I post a new process that uses the same
dataset? I am on Atlas 0.8.2. Thank you.

Connie

Re: Lineage breaking when adding an extra node

Posted by Connie Chen <co...@gmail.com>.
Additionally, for entities where the lineage is not showing up, I am able
to get ~14 relations with

http://localhost:21000/api/atlas/v2/lineage/83bfe9ec-88d3-4207-9b84-26f1018f6a70


From the stack trace I posted above it looks like this method is stack
overflowing?

https://github.com/apache/atlas/blob/2735f96fc70f06eba4672538376c6df8f0dc30dd/dashboardv2/public/js/views/graph/LineageLayoutView.js#L158

Is there a way to avoid this and get the lineage to show up properly? thank
you.

Connie

On Wed, Apr 4, 2018 at 12:11 PM, Connie Chen <co...@gmail.com>
wrote:

>
> Hi, does anyone know why the lineage for a dataset would disappear as more
> nodes are added? I am not sure how to debug this. I see some 404 errors and
> this in the console when I try to load the page:
>
> Uncaught RangeError: Maximum call stack size exceeded
>>     at keys (<anonymous>)
>>     at Function.s.keys (underscore-min.js?bust=1519685834833:1)
>>     at Function.s.isMatch (underscore-min.js?bust=1519685834833:1)
>>     at underscore-min.js?bust=1519685834833:1
>>     at underscore-min.js?bust=1519685834833:1
>>     at Function.s.each.s.forEach (underscore-min.js?bust=1519685834833:1)
>>     at Function.s.filter.s.select (underscore-min.js?bust=
>> 1519685834833:1)
>>     at Function.s.where (underscore-min.js?bust=1519685834833:1)
>>     at N.d.checkForLineageOrImpactFlag (LineageLayoutView.js?bust=
>> 1519685834833:80)
>>     at LineageLayoutView.js?bust=1519685834833:94
>
>
> I also see a lot of messages like
>
> {"errorCode":"ATLAS-404-00-005","errorMessage":"Given instance guid
>> d4717984-a5bc-4f4d-90b7-9299e90e62f6 is invalid/not found"}
>
>
> But in my browser I am able to navigate to it via:
> https://atlas-server.corp.stripe.com/index.html#!/
> detailPage/d4717984-a5bc-4f4d-90b7-9299e90e62f6
>
> My use case is, I post a process A with a bunch of inputs and outputs and
> I see lineage in the outputs. Then, I post another process B with process
> A's outputs as process B's inputs. Then when I reload the page of process
> A's outputs, the lineage disappears and I get the above errors.
>
> Are there any restrictions to lineage or how it is displayed? Why would
> existing lineage disappear after I post a new process that uses the same
> dataset? I am on Atlas 0.8.2. Thank you.
>
> Connie
>
>