ramackri opened a new pull request, #1117:
URL: https://github.com/apache/ranger/pull/1117

   ## Summary
   
   - Move `chown -R hdfs:hadoop /opt/hadoop` and Tez JAR installation to 
`Dockerfile.ranger-hadoop` at image build time
   - Remove the expensive recursive chown from `ranger-hadoop-setup.sh` on 
every container start
   - At runtime, only chown paths modified during setup (config files, logs, 
plugin changes)
   
   Fixes slow first-boot startup of the `ranger-hadoop` container (30+ minutes 
on some hosts), which blocks Hive, HBase, and other services waiting on the 
Hadoop healthcheck.
   
   Jira: https://issues.apache.org/jira/browse/RANGER-5713
   
   ## Test plan
   
   - [ ] Rebuild hadoop image: `docker compose -f 
docker-compose.ranger-hadoop.yml build ranger-hadoop`
   - [ ] Recreate container: `docker compose -f 
docker-compose.ranger-hadoop.yml up -d --force-recreate ranger-hadoop`
   - [ ] Confirm `ranger-hadoop` becomes healthy quickly (~30–60s vs 30+ min)
   - [ ] Verify HDFS and YARN start cleanly
   - [ ] Confirm Hive/HBase no longer timeout waiting on `ranger-hadoop`
   
   
   Made with [Cursor](https://cursor.com)


-- 
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]

Reply via email to