matthewrossi commented on PR #6387: URL: https://github.com/apache/hadoop/pull/6387#issuecomment-2032214029
This is what I've found diving into the project history: - `docker-compose.yaml` was always configured with `ENSURE_NAMENODE_DIR: "/tmp/hadoop-root/dfs/name"` - the namenode [base image](https://github.com/apache/hadoop/blob/docker-hadoop-runner/Dockerfile) always specified the use of the `hadoop` user (so my initial assumption about the previous use of the `root` user was wrong) - the default configurations of [Hadoop](https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml#L37) and [HDFS](https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml#L442) are the ones determining the use of the `/tmp/hadoop-${user.name}/dfs/name` directory, but they date back before the creation of the `docker-compose.yaml` So, it looks like the issue has always been there. -- 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]
