[jira] [Created] (ATLAS-4448) NPE while create bulk entity.
Nixon Rodrigues created ATLAS-4448: -- Summary: NPE while create bulk entity. Key: ATLAS-4448 URL: https://issues.apache.org/jira/browse/ATLAS-4448 Project: Atlas Issue Type: Bug Reporter: Nixon Rodrigues This is product regression caused by *ATLAS-4348* , a new feature added in Atlas 2.2 release. Getting NPE on this line, when entityTypeName is of category STRUCT. 2021-09-27 09:47:41,202 ERROR - [etp561480862-228 - e3a8175a-692c-4d0e-976b-883d7026614d:] ~ Error handling a request: 2d67e70e541c57aa (ExceptionMapperUtil:32) java.lang.NullPointerException at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.getAppendOptionForRelationship(EntityGraphMapper.java:1487) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:1448) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:858) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:751) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapAttributes(EntityGraphMapper.java:660) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapAttributes(EntityGraphMapper.java:645) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.createVertex(EntityGraphMapper.java:1500) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapStructValue(EntityGraphMapper.java:1123) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapCollectionElementsToVertex(EntityGraphMapper.java:1559) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:1433) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:858) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:751) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapAttributes(EntityGraphMapper.java:660) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapAttributes(EntityGraphMapper.java:645) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.createVertex(EntityGraphMapper.java:1500) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapStructValue(EntityGraphMapper.java:1123) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:772) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:751) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapAttributes(EntityGraphMapper.java:660) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:309) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper$$FastClassBySpringCGLIB$$8e3f1c72.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at org.apache.atlas.repository.store.graph.v2.EntityGraphMapper$$EnhancerBySpringCGLIB$$bb340994.mapAttributesAndClassifications() at org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2.createOrUpdate(AtlasEntityStoreV2.java:1210) at org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2.createOrUpdate(AtlasEntityStoreV2.java:366) at org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$FastClassBySpringCGLIB$$6861dca9.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$EnhancerBySpringCGLIB$$8bbea499.createOrUpdate() at org.apache.atlas.web.rest.EntityREST.createOrUpdate(EntityREST.java:761) -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ATLAS-4425) Migration import should be able to import multiple zip files present in a particular path
[ https://issues.apache.org/jira/browse/ATLAS-4425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426308#comment-17426308 ] ASF subversion and git services commented on ATLAS-4425: Commit 25fe3b2966f848ca13e4ab006434bf0923edf21e in atlas's branch refs/heads/branch-2.0 from Sidharth Mishra [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=25fe3b2 ] ATLAS-4425: Added support for Migration import to run on a directory with multiple zip files Signed-off-by: sidmishra (cherry picked from commit 11627e33d3b262d60ae0a3c6338f7963ffedaeab) > Migration import should be able to import multiple zip files present in a > particular path > - > > Key: ATLAS-4425 > URL: https://issues.apache.org/jira/browse/ATLAS-4425 > Project: Atlas > Issue Type: Improvement > Components: atlas-core >Reporter: Sidharth Kumar Mishra >Assignee: Sidharth Kumar Mishra >Priority: Major > Attachments: ATLAS-4425.patch > > > Right now migration import only imports one zip file. Instead it should > import all the zip files given inside a path in lexicographic order -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ATLAS-4425) Migration import should be able to import multiple zip files present in a particular path
[ https://issues.apache.org/jira/browse/ATLAS-4425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426300#comment-17426300 ] ASF subversion and git services commented on ATLAS-4425: Commit 11627e33d3b262d60ae0a3c6338f7963ffedaeab in atlas's branch refs/heads/master from Sidharth Mishra [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=11627e3 ] ATLAS-4425: Added support for Migration import to run on a directory with multiple zip files Signed-off-by: sidmishra > Migration import should be able to import multiple zip files present in a > particular path > - > > Key: ATLAS-4425 > URL: https://issues.apache.org/jira/browse/ATLAS-4425 > Project: Atlas > Issue Type: Improvement > Components: atlas-core >Reporter: Sidharth Kumar Mishra >Assignee: Sidharth Kumar Mishra >Priority: Major > Attachments: ATLAS-4425.patch > > > Right now migration import only imports one zip file. Instead it should > import all the zip files given inside a path in lexicographic order -- This message was sent by Atlassian Jira (v8.3.4#803005)
Re: Review Request 73641: Repair Composite indexes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73641/ --- (Updated Oct. 8, 2021, 4:05 p.m.) Review request for atlas, Ashutosh Mestry, Jayendra Parab, and Sarath Subramanian. Bugs: ATLAS-4447 https://issues.apache.org/jira/browse/ATLAS-4447 Repository: atlas Description --- If by any chance, commposite index are not enabled, this patch fixes the composite index from REGISTERED state to ENABLED state Diffs - graphdb/api/src/main/java/org/apache/atlas/repository/graphdb/AtlasGraphManagement.java 7e3b2f440 graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphManagement.java 1cc7f8b55 repository/src/main/java/org/apache/atlas/repository/patches/AtlasPatchManager.java d30971afc repository/src/main/java/org/apache/atlas/repository/patches/RepairCompositeIndexPatch.java PRE-CREATION Diff: https://reviews.apache.org/r/73641/diff/1/ Testing --- manually tested Thanks, Pinal Shah
[jira] [Created] (ATLAS-4447) Repair Composite Indexes
Pinal Shah created ATLAS-4447: - Summary: Repair Composite Indexes Key: ATLAS-4447 URL: https://issues.apache.org/jira/browse/ATLAS-4447 Project: Atlas Issue Type: Improvement Components: atlas-core Reporter: Pinal Shah Assignee: Pinal Shah This patch repairs the composite indexes which are in REGISTERED state -- This message was sent by Atlassian Jira (v8.3.4#803005)
Re: Review Request 73641: Repair Composite indexes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73641/#review223593 --- Ship it! Ship It! - Ashutosh Mestry On Oct. 8, 2021, 1:38 p.m., Pinal Shah wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73641/ > --- > > (Updated Oct. 8, 2021, 1:38 p.m.) > > > Review request for atlas, Ashutosh Mestry, Jayendra Parab, and Sarath > Subramanian. > > > Repository: atlas > > > Description > --- > > If by any chance, commposite index are not enabled, this patch fixes the > composite index from REGISTERED state to ENABLED state > > > Diffs > - > > > graphdb/api/src/main/java/org/apache/atlas/repository/graphdb/AtlasGraphManagement.java > 7e3b2f440 > > graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphManagement.java > 1cc7f8b55 > > repository/src/main/java/org/apache/atlas/repository/patches/AtlasPatchManager.java > d30971afc > > repository/src/main/java/org/apache/atlas/repository/patches/RepairCompositeIndexPatch.java > PRE-CREATION > > > Diff: https://reviews.apache.org/r/73641/diff/1/ > > > Testing > --- > > manually tested > > > Thanks, > > Pinal Shah > >
[jira] [Resolved] (ATLAS-4436) Basic Search : Search By Query '*' gets internal entities also
[ https://issues.apache.org/jira/browse/ATLAS-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shraddha Kapilsingh Pardeshi resolved ATLAS-4436. - Resolution: Resolved > Basic Search : Search By Query '*' gets internal entities also > -- > > Key: ATLAS-4436 > URL: https://issues.apache.org/jira/browse/ATLAS-4436 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Reporter: Pinal Shah >Assignee: Shraddha Kapilsingh Pardeshi >Priority: Major > Fix For: 3.0.0, 2.3.0 > > > Steps to Reproduce: > - Remove Search By Type > - Add '*' in Search By Query and Click on Search > Actual : It brings all the internal entities like '__AtlasAuditEntry' > etc > Expected : It should not show internal types -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (ATLAS-4436) Basic Search : Search By Query '*' gets internal entities also
[ https://issues.apache.org/jira/browse/ATLAS-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shraddha Kapilsingh Pardeshi updated ATLAS-4436: Fix Version/s: 2.3.0 3.0.0 > Basic Search : Search By Query '*' gets internal entities also > -- > > Key: ATLAS-4436 > URL: https://issues.apache.org/jira/browse/ATLAS-4436 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Reporter: Pinal Shah >Assignee: Shraddha Kapilsingh Pardeshi >Priority: Major > Fix For: 3.0.0, 2.3.0 > > > Steps to Reproduce: > - Remove Search By Type > - Add '*' in Search By Query and Click on Search > Actual : It brings all the internal entities like '__AtlasAuditEntry' > etc > Expected : It should not show internal types -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ATLAS-4436) Basic Search : Search By Query '*' gets internal entities also
[ https://issues.apache.org/jira/browse/ATLAS-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426201#comment-17426201 ] ASF subversion and git services commented on ATLAS-4436: Commit eafa9afabc156c5ed7e3547099e85d397a9d4e93 in atlas's branch refs/heads/branch-2.0 from Shraddha Chauhan [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=eafa9af ] ATLAS-4436: Basic Search : Search By Query '*' gets internal entities also Signed-off-by: Pinal Shah > Basic Search : Search By Query '*' gets internal entities also > -- > > Key: ATLAS-4436 > URL: https://issues.apache.org/jira/browse/ATLAS-4436 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Reporter: Pinal Shah >Assignee: Shraddha Kapilsingh Pardeshi >Priority: Major > > Steps to Reproduce: > - Remove Search By Type > - Add '*' in Search By Query and Click on Search > Actual : It brings all the internal entities like '__AtlasAuditEntry' > etc > Expected : It should not show internal types -- This message was sent by Atlassian Jira (v8.3.4#803005)
Re: Review Request 73603: ATLAS-4436 Basic Search : Search By Query '*' gets internal entities also
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73603/#review223592 --- Ship it! Ship It! - Pinal Shah On Sept. 28, 2021, 6:02 a.m., Shraddha Pardeshi wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73603/ > --- > > (Updated Sept. 28, 2021, 6:02 a.m.) > > > Review request for atlas, Jayendra Parab, Mandar Ambawane, and Pinal Shah. > > > Bugs: ATLAS-4436 > https://issues.apache.org/jira/browse/ATLAS-4436 > > > Repository: atlas > > > Description > --- > > when we add "*" in search by query in response it brings all the internal > entities like '__AtlasAuditEntry'. But expected behaviour is, it should not > show internal types. > So here filtering those internal types in basic search > > > Diffs > - > > > repository/src/main/java/org/apache/atlas/discovery/FreeTextSearchProcessor.java > 86f2cea23 > > repository/src/main/java/org/apache/atlas/discovery/FullTextSearchProcessor.java > 2d8a448b1 > > repository/src/test/java/org/apache/atlas/discovery/FreeTextSearchProcessorTest.java > e497bb786 > > > Diff: https://reviews.apache.org/r/73603/diff/3/ > > > Testing > --- > > - Local testing done > - Added unit testcase > - PC - > https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/883/consoleFull > > > Thanks, > > Shraddha Pardeshi > >
[jira] [Commented] (ATLAS-4436) Basic Search : Search By Query '*' gets internal entities also
[ https://issues.apache.org/jira/browse/ATLAS-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426200#comment-17426200 ] ASF subversion and git services commented on ATLAS-4436: Commit a8ecfdf8d735b56f35af9c0e6f47990b91910ba0 in atlas's branch refs/heads/master from Shraddha Chauhan [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=a8ecfdf ] ATLAS-4436: Basic Search : Search By Query '*' gets internal entities also Signed-off-by: Pinal Shah > Basic Search : Search By Query '*' gets internal entities also > -- > > Key: ATLAS-4436 > URL: https://issues.apache.org/jira/browse/ATLAS-4436 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Reporter: Pinal Shah >Assignee: Shraddha Kapilsingh Pardeshi >Priority: Major > > Steps to Reproduce: > - Remove Search By Type > - Add '*' in Search By Query and Click on Search > Actual : It brings all the internal entities like '__AtlasAuditEntry' > etc > Expected : It should not show internal types -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (ATLAS-1558) Running Quickstart V2 multiple times throws an exception type already exists
[ https://issues.apache.org/jira/browse/ATLAS-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shraddha Kapilsingh Pardeshi reassigned ATLAS-1558: --- Assignee: Shraddha Kapilsingh Pardeshi (was: Sarath Subramanian) > Running Quickstart V2 multiple times throws an exception type already exists > > > Key: ATLAS-1558 > URL: https://issues.apache.org/jira/browse/ATLAS-1558 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: 0.8-incubating >Reporter: Sarath Subramanian >Assignee: Shraddha Kapilsingh Pardeshi >Priority: Major > > When you try to run QuickStart V2 multiple times, after the first succesfull > run, it throws exception that types already exists. QuickStart should exit > gracefully with types already exist message. -- This message was sent by Atlassian Jira (v8.3.4#803005)
Review Request 73641: Repair Composite indexes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73641/ --- Review request for atlas, Ashutosh Mestry, Jayendra Parab, and Sarath Subramanian. Repository: atlas Description --- If by any chance, commposite index are not enabled, this patch fixes the composite index from REGISTERED state to ENABLED state Diffs - graphdb/api/src/main/java/org/apache/atlas/repository/graphdb/AtlasGraphManagement.java 7e3b2f440 graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphManagement.java 1cc7f8b55 repository/src/main/java/org/apache/atlas/repository/patches/AtlasPatchManager.java d30971afc repository/src/main/java/org/apache/atlas/repository/patches/RepairCompositeIndexPatch.java PRE-CREATION Diff: https://reviews.apache.org/r/73641/diff/1/ Testing --- manually tested Thanks, Pinal Shah
[jira] [Issue Comment Deleted] (ATLAS-4436) Basic Search : Search By Query '*' gets internal entities also
[ https://issues.apache.org/jira/browse/ATLAS-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shraddha Kapilsingh Pardeshi updated ATLAS-4436: Comment: was deleted (was: [|https://reviews.apache.org/r/73603/] ) > Basic Search : Search By Query '*' gets internal entities also > -- > > Key: ATLAS-4436 > URL: https://issues.apache.org/jira/browse/ATLAS-4436 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Reporter: Pinal Shah >Assignee: Shraddha Kapilsingh Pardeshi >Priority: Major > > Steps to Reproduce: > - Remove Search By Type > - Add '*' in Search By Query and Click on Search > Actual : It brings all the internal entities like '__AtlasAuditEntry' > etc > Expected : It should not show internal types -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Comment Edited] (ATLAS-4436) Basic Search : Search By Query '*' gets internal entities also
[ https://issues.apache.org/jira/browse/ATLAS-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426179#comment-17426179 ] Shraddha Kapilsingh Pardeshi edited comment on ATLAS-4436 at 10/8/21, 1:16 PM: --- [|https://reviews.apache.org/r/73603/] was (Author: shraddha1992): PC - [https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/883/consoleFull] Review Request link - https://reviews.apache.org/r/73603/ > Basic Search : Search By Query '*' gets internal entities also > -- > > Key: ATLAS-4436 > URL: https://issues.apache.org/jira/browse/ATLAS-4436 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Reporter: Pinal Shah >Assignee: Shraddha Kapilsingh Pardeshi >Priority: Major > > Steps to Reproduce: > - Remove Search By Type > - Add '*' in Search By Query and Click on Search > Actual : It brings all the internal entities like '__AtlasAuditEntry' > etc > Expected : It should not show internal types -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (ATLAS-3917) While deleting parent tag, shows incorrect message.
[ https://issues.apache.org/jira/browse/ATLAS-3917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shraddha Kapilsingh Pardeshi reassigned ATLAS-3917: --- Assignee: Shraddha Kapilsingh Pardeshi (was: chaitali borole) > While deleting parent tag, shows incorrect message. > --- > > Key: ATLAS-3917 > URL: https://issues.apache.org/jira/browse/ATLAS-3917 > Project: Atlas > Issue Type: Bug >Affects Versions: 2.1.0 >Reporter: Durga Kadam >Assignee: Shraddha Kapilsingh Pardeshi >Priority: Minor > Fix For: 3.0.0 > > Attachments: tag_with_{0}_reproducible.mkv > > > Actual Behaviour - While deleting parent tag if the tag is not associated > with any entity shows this message :: "Failed to delete classification > 'parent_abc'. Given type \{0} has reference." > Expected Result - There should be value instead of \{0} > Steps to generate > # Create tag with sub classification. > # Don't associate the created parent tag with any of the entity > # Try to delete the parent tag > # Shows validation message with some encrypted value > > PFA Evidence file -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ATLAS-4436) Basic Search : Search By Query '*' gets internal entities also
[ https://issues.apache.org/jira/browse/ATLAS-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426179#comment-17426179 ] Shraddha Kapilsingh Pardeshi commented on ATLAS-4436: - PC - [https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/883/consoleFull] Review Request link - https://reviews.apache.org/r/73603/ > Basic Search : Search By Query '*' gets internal entities also > -- > > Key: ATLAS-4436 > URL: https://issues.apache.org/jira/browse/ATLAS-4436 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Reporter: Pinal Shah >Assignee: Shraddha Kapilsingh Pardeshi >Priority: Major > > Steps to Reproduce: > - Remove Search By Type > - Add '*' in Search By Query and Click on Search > Actual : It brings all the internal entities like '__AtlasAuditEntry' > etc > Expected : It should not show internal types -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (ATLAS-4446) Atlas - Upgrade elasticsearch to 7.14.0
chaitali borole created ATLAS-4446: -- Summary: Atlas - Upgrade elasticsearch to 7.14.0 Key: ATLAS-4446 URL: https://issues.apache.org/jira/browse/ATLAS-4446 Project: Atlas Issue Type: Improvement Reporter: chaitali borole Assignee: chaitali borole Currently Elastic search is at 6.8.17 -- This message was sent by Atlassian Jira (v8.3.4#803005)