From d5ad0c393f3d40c401af774454668f0b9fd9f966 Mon Sep 17 00:00:00 2001 From: naveenaechan Date: Wed, 15 Nov 2023 18:23:07 +0530 Subject: [PATCH] PLT-191: remove parallel calls for attributes --- .../atlas/repository/store/graph/v2/EntityGraphRetriever.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java index 8e4a1777fe..47d16210e1 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java @@ -1034,7 +1034,7 @@ private AtlasEntityHeader mapVertexToAtlasEntityHeader2(AtlasVertex entityVertex AtlasEntityType entityType = typeRegistry.getEntityTypeByName(typeName); if (entityType != null) { - entityType.getHeaderAttributes().values().stream().parallel().forEach(headerAttribute->{ + entityType.getHeaderAttributes().values().forEach(headerAttribute->{ try { Object attrValue = getVertexAttribute(entityVertex, headerAttribute); if (attrValue != null) {