kumaab opened a new pull request, #276: URL: https://github.com/apache/ranger/pull/276
## What changes were proposed in this pull request? There is a change in CPU arch from amd64 to arm64 in the ubuntu 20.04 base image, the Java path changes due to this which affects all docker containers since all images depend on this base image. ### Error logs ``` 2023-07-25 12:16:50 2023-07-25 19:16:50,735 --------- Running Ranger PolicyManager Web Application Install Script --------- 2023-07-25 12:16:50 2023-07-25 19:16:50,738 [I] uname=Linux 2023-07-25 12:16:50 2023-07-25 19:16:50,741 [I] hostname=ranger.example.com 2023-07-25 12:16:50 2023-07-25 19:16:50,746 [I] DB_FLAVOR=POSTGRES 2023-07-25 12:16:50 2023-07-25 19:16:50,750 [I] Audit source=solr 2023-07-25 12:16:50 2023-07-25 19:16:50,754 [I] Checking distribution name.. 2023-07-25 12:16:50 2023-07-25 19:16:50,789 [I] Found distribution : Ubuntu 2023-07-25 12:16:50 2023-07-25 19:16:50,790 [I] check if command /usr/lib/jvm/java-8-openjdk-amd64/bin/java exists 2023-07-25 12:16:50 ./setup.sh: line 195: type: /usr/lib/jvm/java-8-openjdk-amd64/bin/java: not found 2023-07-25 12:16:50 2023-07-25 19:16:50,792 [E] '/usr/lib/jvm/java-8-openjdk-amd64/bin/java' command not found 2023-07-25 12:16:50 find: '/opt/ranger/ranger-2.4.1-admin/ews/webapp/WEB-INF/classes/conf/': No such file or directory 2023-07-25 12:16:50 Starting Apache Ranger Admin Service 2023-07-25 12:16:50 ./ews/ranger-admin-services.sh: line 94: /opt/ranger/ranger-2.4.1-admin/ews/logs/catalina.out: No such file or directory 2023-07-25 12:16:55 Apache Ranger Admin Service failed to start! ``` ## How was this patch tested? Tested changes by bringing up ranger in docker and verifying ranger-admin is working. -- 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]
