atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Radley (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ATLAS-1458) 2nd loop Loop in Atlas using V2 entity API CONSTRAINT_TYPE_MAPPED_FROM_REF pointing to its own type
Date Mon, 16 Jan 2017 09:39:26 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Radley reassigned ATLAS-1458:
-----------------------------------

    Assignee: David Radley

> 2nd loop Loop in Atlas using V2 entity API CONSTRAINT_TYPE_MAPPED_FROM_REF pointing to
its own type
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1458
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1458
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: David Radley
>            Assignee: David Radley
>         Attachments: QuickStartNoFKUpdatechildafterparentloop.java
>
>
> similar to 1452. I am trying to knit a parent to a child entity. Both the parent and
child are the same type.  I have supplied the app that shows this loop. This loop is of the
form:
> xception in thread "main" java.lang.StackOverflowError
> 	at sun.util.calendar.ZoneInfo.getOffsets(ZoneInfo.java:271)
> 	at sun.util.calendar.ZoneInfo.getOffsets(ZoneInfo.java:248)
> 	at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2276)
> 	at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2248)
> 	at java.util.Calendar.setTimeInMillis(Calendar.java:1140)
> 	at java.util.Calendar.setTime(Calendar.java:1106)
> 	at java.text.SimpleDateFormat.format(SimpleDateFormat.java:955)
> 	at java.text.SimpleDateFormat.format(SimpleDateFormat.java:948)
> 	at java.text.DateFormat.format(DateFormat.java:336)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpDateField(AtlasStruct.java:257)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:176)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at java.util.AbstractCollection.toString(AbstractCollection.java:458)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at java.util.AbstractCollection.toString(AbstractCollection.java:458)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at java.util.AbstractCollection.toString(AbstractCollection.java:458)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at java.util.AbstractCollection.toString(AbstractCollection.java:458)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at java.util.AbstractCollection.toString(AbstractCollection.java:458)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at java.util.AbstractCollection.toString(AbstractCollection.java:458)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:180)
> 	at org.apache.atlas.model.instance.AtlasEntity.toString(AtlasEntity.java:209)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at java.util.AbstractCollection.toString(AbstractCollection.java:458)
> 	at java.lang.String.valueOf(String.java:2849)
> 	at java.lang.StringBuilder.append(StringBuilder.java:128)
> 	at org.apache.atlas.model.instance.AtlasStruct.dumpObjects(AtlasStruct.java:243)
> 	at org.apache.atlas.model.instance.AtlasStruct.toString(AtlasStruct.java:137)
> 	at org.apache. 



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

Mime
View raw message