nutritious-bird-77396
06/29/2022, 9:15 PMnutritious-bird-77396
06/29/2022, 9:15 PM21:01:55.185 [pool-12-thread-1] INFO c.l.m.filter.RestliLoggingFilter:55 - GET /entitiesV2?ids=List(urn%3Ali%3Acorpuser%3Aarun.vasudevan) - batchGet - 200 - 6ms
21:01:55.201 [I/O dispatcher 1] INFO c.l.m.k.e.ElasticsearchConnector:41 - Successfully feeded bulk request. Number of events: 1 Took time ms: -1
21:01:58.619 [ForkJoinPool.commonPool-worker-4] ERROR c.l.datahub.graphql.GmsGraphQLEngine:1396 - Failed to load Entities of type: GlossaryNode, keys: [urn:li:glossaryNode:d48c795c-5f3c-411f-8e4b-0e5a8a32522e, urn:li:glossaryNode:Classification] Failed to batch load GlossaryNodes
21:01:58.623 [ForkJoinPool.commonPool-worker-4] ERROR c.l.d.g.e.DataHubDataFetcherExceptionHandler:21 - Failed to execute DataFetcher
java.util.concurrent.CompletionException: java.lang.RuntimeException: Failed to retrieve entities of type GlossaryNode
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
Caused by: java.lang.RuntimeException: Failed to retrieve entities of type GlossaryNode
at com.linkedin.datahub.graphql.GmsGraphQLEngine.lambda$null$167(GmsGraphQLEngine.java:1397)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
... 5 common frames omitted
Caused by: java.lang.RuntimeException: Failed to batch load GlossaryNodes
at com.linkedin.datahub.graphql.types.glossary.GlossaryNodeType.batchLoad(GlossaryNodeType.java:79)
at com.linkedin.datahub.graphql.GmsGraphQLEngine.lambda$null$167(GmsGraphQLEngine.java:1394)
... 6 common frames omitted
Caused by: java.lang.NullPointerException: null
at com.linkedin.datahub.graphql.types.glossary.mappers.GlossaryNodeMapper.mapGlossaryNodeKey(GlossaryNodeMapper.java:57)
at com.linkedin.datahub.graphql.types.common.mappers.util.MappingHelper.mapToResult(MappingHelper.java:22)
at com.linkedin.datahub.graphql.types.glossary.mappers.GlossaryNodeMapper.apply(GlossaryNodeMapper.java:38)
at com.linkedin.datahub.graphql.types.glossary.mappers.GlossaryNodeMapper.map(GlossaryNodeMapper.java:25)
at com.linkedin.datahub.graphql.types.glossary.GlossaryNodeType.lambda$batchLoad$0(GlossaryNodeType.java:75)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
at com.linkedin.datahub.graphql.types.glossary.GlossaryNodeType.batchLoad(GlossaryNodeType.java:77)
... 7 common frames omitted
nutritious-bird-77396
06/29/2022, 9:16 PMbulky-soccer-26729
06/29/2022, 9:19 PMbulky-soccer-26729
06/29/2022, 9:21 PMbulky-soccer-26729
06/29/2022, 9:23 PM--hard
at the end)nutritious-bird-77396
06/29/2022, 9:23 PMbig-carpet-38439
06/29/2022, 9:24 PMbig-carpet-38439
06/29/2022, 9:26 PM"Do you want to delete these references?"
nutritious-bird-77396
06/29/2022, 9:26 PMbig-carpet-38439
06/29/2022, 9:27 PMbig-carpet-38439
06/29/2022, 9:27 PMnutritious-bird-77396
06/29/2022, 9:27 PMdatahub@datahub-cli:/$ datahub version
DataHub CLI version:
Python version: 3.9.13 (main, May 28 2022, 13:56:03)
[GCC 10.2.1 20210110]
bulky-soccer-26729
06/29/2022, 9:28 PMdatahub --version
?bulky-soccer-26729
06/29/2022, 9:29 PMbulky-soccer-26729
06/29/2022, 9:29 PMnutritious-bird-77396
06/29/2022, 9:29 PMnutritious-bird-77396
06/29/2022, 9:29 PMnutritious-bird-77396
06/29/2022, 9:29 PMbulky-soccer-26729
06/29/2022, 9:30 PMbulky-soccer-26729
06/29/2022, 9:30 PMbig-carpet-38439
06/29/2022, 9:31 PMjohnjoyce@Johns-MacBook-Pro-3 datahub-1 % datahub --version
acryl-datahub, version 0.8.20.0
big-carpet-38439
06/29/2022, 9:31 PMnutritious-bird-77396
06/29/2022, 9:31 PMbig-carpet-38439
06/29/2022, 9:31 PMbig-carpet-38439
06/29/2022, 9:31 PMnutritious-bird-77396
06/29/2022, 9:31 PMbulky-soccer-26729
06/29/2022, 9:32 PMincalculable-ocean-74010
06/29/2022, 9:42 PMincalculable-ocean-74010
06/29/2022, 9:43 PMdatahub delete --urn <urn> --hard
you should get the remove references prompt if any exist even if the entity no longer exists.nutritious-bird-77396
06/29/2022, 9:44 PMnutritious-bird-77396
06/30/2022, 12:10 AMv0.8.38
datahub@datahub-cli:/$ datahub --version
acryl-datahub, version 0.8.38+docker
datahub@datahub-cli:/$ datahub delete --urn "urn:li:glossaryNode:d48c795c-5f3c-411f-8e4b-0e5a8a32522e" --hard
This will permanently delete data from DataHub. Do you want to continue? [y/N]: y
[2022-06-30 00:04:21,559] INFO {datahub.cli.delete_cli:134} - DataHub configured with <http://datahub-gms-service.data-platform.svc.cluster.local:8080>
Successfully deleted urn:li:glossaryNode:d48c795c-5f3c-411f-8e4b-0e5a8a32522e. 2 rows deleted
Took 3.332 seconds to hard delete 2 rows for 1 entities
Even after deleting the above urn thru the updated image I still get the same error in GMS.nutritious-bird-77396
06/30/2022, 12:11 AMDo you want to delete these references?
nutritious-bird-77396
06/30/2022, 12:11 AMlinkedin/datahub-ingestion:v0.8.38
big-carpet-38439
06/30/2022, 12:11 AMincalculable-ocean-74010
06/30/2022, 12:24 PMnutritious-bird-77396
06/30/2022, 2:56 PMincalculable-ocean-74010
06/30/2022, 3:01 PMnutritious-bird-77396
06/30/2022, 3:51 PMincalculable-ocean-74010
06/30/2022, 5:29 PMnutritious-bird-77396
06/30/2022, 5:52 PMnutritious-bird-77396
06/30/2022, 7:56 PMbulky-soccer-26729
06/30/2022, 7:56 PM