[
https://issues.apache.org/jira/browse/HDDS-6938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hui Fei updated HDDS-6938:
--------------------------
Affects Version/s: 1.2.0
> NullPointerException occurred when did PrefixAcl tests
> ------------------------------------------------------
>
> Key: HDDS-6938
> URL: https://issues.apache.org/jira/browse/HDDS-6938
> Project: Apache Ozone
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Hui Fei
> Priority: Major
>
> When I did ACL tests, I got the following erros and om couldn't start again
> {quote}
> 2022-01-21 18:23:17,462 [OM StateMachine ApplyTransaction Thread - 0] ERROR
> org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine: Terminating with
> exit sta
> tus 1: Request cmdType: RemoveAcl
> traceID: ""
> clientId: "client-2B16861EF48B"
> userInfo
> Unknown macro: { userName}
> version: 1
> layoutVersion
> Unknown macro: { version}
> removeAclRequest {
> obj
> Unknown macro: { resType}
> acl
> Unknown macro: { type}
> }
> failed with exception
> java.lang.NullPointerException
> at
> org.apache.hadoop.ozone.om.request.key.acl.prefix.OMPrefixAclRequest.validateAndUpdateCache(OMPrefixAclRequest.java:108)
> at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler.handleWriteRequest(OzoneManagerRequestHandler.java:248)
> at
> org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine.runCommand(OzoneManagerStateMachine.java:502)
> at
> org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine.lambda$2(OzoneManagerStateMachine.java:312)
> at
> java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> {quote}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]