guihecheng edited a comment on pull request #2670:
URL: https://github.com/apache/ozone/pull/2670#issuecomment-924924247
@adoroszlai hmmm, that is interesting, I remember encountering a problem
with no exception shown during one of my test, but I'm not using the master
branch anyway.
Confirmed manually that this is not a problem for the master branch. I shall
close it, thanks~
```
2021-09-22 13:14:42,022 ERROR
org.apache.hadoop.ozone.container.common.statemachine.commandhandler.CloseContainerCommandHandler:
Can't close container #20
org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException:
Error while creating/ updating .container file. ContainerID: 20
at
org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.writeToContainerFile(KeyValueContainer.java:235)
at
org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.updateContainerFile(KeyValueContainer.java:255)
at
org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.updateContainerData(KeyValueContainer.java:366)
at
org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.markContainerForClose(KeyValueContainer.java:286)
at
org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.markContainerForClose(KeyValueHandler.java:961)
at
org.apache.hadoop.ozone.container.ozoneimpl.ContainerController.markContainerForClose(ContainerController.java:101)
at
org.apache.hadoop.ozone.container.common.statemachine.commandhandler.CloseContainerCommandHandler.handle(CloseContainerCommandHandler.java:91)
at
org.apache.hadoop.ozone.container.common.statemachine.commandhandler.CommandDispatcher.handle(CommandDispatcher.java:99)
at
org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.lambda$initCommandHandlerThread$24(DatanodeStateMachine.java:556)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(File.java:2024)
at
org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.createTempFile(KeyValueContainer.java:774)
at
org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.writeToContainerFile(KeyValueContainer.java:219)
... 9 more
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]