Hi All , trying to add members in UI , but getting...
# ui
f
Hi All , trying to add members in UI , but getting below error . Any idea what might be the issue here . {errors: [,…], data: {addGroupMembers: null}, extensions: {}} data: {addGroupMembers: null} addGroupMembers: null errors: [,…] 0: {message: "An unknown error occurred.", locations: [{line: 2, column: 3}], path: ["addGroupMembers"],…} extensions: {code: 500, type: "SERVER_ERROR", classification: "DataFetchingException"} classification: "DataFetchingException" code: 500 type: "SERVER_ERROR" locations: [{line: 2, column: 3}] 0: {line: 2, column: 3} column: 3 line: 2 message: "An unknown error occurred." path: ["addGroupMembers"] 0: "addGroupMembers" extensions: {}
g
Hey @fresh-cricket-75926 - a more clear error will be printed out in your GMS container’s logs.
f
Hi @green-football-43791 i can see below error message in GMS container. Errors while executing graphQL query: "mutation addGroupMembers($groupUrn: String!, $userUrns: [String!]!) {\n addGroupMembers(input: {groupUrn: $groupUrn, userUrns: $userUrns})\n}\n", result: {errors=[{message=An unknown error occurred., locations=[{line=2, column=3}], path=[addGroupMembers], extensions={code=500, type=SERVER_ERROR, classification=DataFetchingException}}], data={addGroupMembers=null}, extensions={tracing={version=1, startTime=2022-09-13T081908.065Z, endTime=2022-09-13T081908.083Z, duration=17505949, parsing={startOffset=221585, duration=201921}, validation={startOffset=384735, duration=150709}, execution={resolvers=[{path=[addGroupMembers], parentType=Mutation, returnType=Boolean, fieldName=addGroupMembers, startOffset=446211, duration=16737643}]}}}}, errors: [DataHubGraphQLError{path=[addGroupMembers], code=SERVER_ERROR, locations=[SourceLocation{line=2, column=3}]}] 081910.157 [ForkJoinPool.commonPool-worker-7]
ERROR c.l.d.g.e.DataHubDataFetcherExceptionHandler:21 - Failed to execute DataFetcher java.util.concurrent.CompletionException: java.lang.RuntimeException: Failed to migrate group membership for group urnlicorpGroup:c9a62167-dab3-4abd-a401-148feb10a8c4 when adding group members 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 migrate group membership for group urnlicorpGroup:c9a62167-dab3-4abd-a401-148feb10a8c4 when adding group members at com.linkedin.datahub.graphql.resolvers.group.AddGroupMembersResolver.lambda$get$1(AddGroupMembersResolver.java:63) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ... 5 common frames omitted
e
Hi @fresh-cricket-75926 is this the complete stack trace?
f
Hi Aditya , yes its is . Just to cross verify , I have redeployed the GMS pod as well , but same issue
e
Can you give me some more details about the group?
Is this a group you’ve had for a while, and now you’re trying to add additional members to it?
f
Hi Aditya , we had this group for a while . This issue occurred particular when I upgraded datahub to v0.8.43 from 0.8.36