adoroszlai opened a new pull request, #9:
URL: https://github.com/apache/ranger-tools/pull/9

   ## What changes were proposed in this pull request?
   
   Hostname `ranger-admin.rangernw` is hard-coded in the script that creates 
services during startup.  Since Ranger Admin runs inside this container, we can 
connect via `localhost` instead.
   
   ## How was this patch tested?
   
   Mounted the script in container with custom hostname.  Verified that 
services get created.
   
   ```yaml
     ranger:
       image: apache/ranger:2.8.0
       hostname: asdf.qwerty
       volumes:
         - 
./create-ranger-services.py:/home/ranger/scripts/create-ranger-services.py
       ...
   ```
   
   Ranger Admin log:
   
   ```
    dev_hdfs service created!
    dev_yarn service created!
    dev_hive service created!
    dev_hbase service created!
    dev_kafka service created!
    dev_knox service created!
    dev_kms service created!
    dev_trino service created!
    dev_ozone service created!
   ```


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