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) {