adoroszlai commented on PR #8613: URL: https://github.com/apache/ozone/pull/8613#issuecomment-2975072365
> ``` > chown: changing ownership of '/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.1.0-SNAPSHOT/compose/ozonesecure-ha/data/dn1': Operation not permitted > ``` This is fine, `chown` is retried with `sudo`, then it succeeds. > ``` > Caused by: org.rocksdb.RocksDBException: While open a file for appending: /data/hdds/hdds/CID-30e32454-4a0d-413e-9242-916f8be902f5/DS-336374ce-4a59-4b63-b83a-5b18029927b0/container.db/LOG: Permission denied > ``` This happens because in GitHub's environment, the user ID is different between the host and the container. Overwriting the container changes its owner. https://github.com/apache/ozone/blob/72d8c44aea978496071c2b1002e843d6439111f2/hadoop-ozone/dist/src/main/compose/common/replicas-test.sh#L50 Before: ``` 88 -rw-r--r-- 1 hadoop hadoop 87535 Jun 16 04:04 /data/hdds/hdds/CID-aa9f8325-4197-4d3e-a929-ed6554243fad/DS-a49f9006-5e63-4de4-969f-db0b04c24c27/container.db/LOG ``` After: ``` 88 -rw-r--r-- 1 om 118 87535 Jun 16 04:04 /data/hdds/hdds/CID-aa9f8325-4197-4d3e-a929-ed6554243fad/DS-a49f9006-5e63-4de4-969f-db0b04c24c27/container.db/LOG ``` https://github.com/adoroszlai/ozone/actions/runs/15671434462/job/44143341797#step:13:212 -- 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]
