Base Images choose in docker #24
A-little-bit-of-data
announced in
Announcements
Replies: 1 comment
-
@A-little-bit-of-data Thanks for this issue. I think this is not related to this repository and I think this has nothing to do with the base image. The error you see is usually encountered when trying to set up the Ranger and the initial script of ranger tries to reset your password according to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have some questions and would like to ask again. I have asked before how to adapt to a higher version of trino, and I have seen that there are updated codes for adaptation recently. Thank you very much, this is very useful to me. I adapted a trino version 430 and ranger version 2.4.0 myself according to your code. I tested it on the virtual machine and it was OK, but I encountered some problems when starting it through the image. I see that the base image you use is phusion/baseimage:focal-1.0.0. I have used many base images, such as phusion/baseimage:focal-1.0.0,phusion/baseimage:focal-1.2.0, eclipse-temurin:8-jdk, eclipse-temurin:8-jre, eclipse-temurin:17-jdk, ubuntu:20.04, etc., and I encountered a problem. When executing setup.sh to the last step, an error is reported:
2024-08-19 15:30:17,611 [I] Ranger all admins default password change request is in process..
Loading class
com.mysql.jdbc.Driver'. This is deprecated. The new driver class is
com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.[EL Severe]: 2024-08-19 15:30:57.422--ServerSession(1268088240)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.12.v20230209-e5c4074ef3): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Connections could not be acquired from the underlying database!
Error Code: 0
[EL Severe]: ejb: 2024-08-19 15:30:57.427--ServerSession(1268088240)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.12.v20230209-e5c4074ef3): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Connections could not be acquired from the underlying database!
Error Code: 0
[EL Severe]: 2024-08-19 15:31:28.111--ServerSession(126808 8240)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.12.v20230209-e5c4074ef3): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Connections could not be acquired from the underlying database!
Error Code: 0 [EL Severe]: ejb: 2024-08-19 15:31:28.112--ServerSession(1268088240)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.12.v20230209-e5c4074ef3): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Connections could not be acquired from the underlying database!
Error Code: 0
2024-08-19 15:31:28,589 [E] Ranger all admins default password change request failed
I wonder if you have encountered the above error, and why did you choose this phusion/baseimage:focal-1.0.0 image?
Another question is that I saw that the official recently updated ranger to 2.5.0 and supported trino to version 451. I wonder if you have compiled and used it?
Beta Was this translation helpful? Give feedback.
All reactions