Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base Images choose in docker #3

Open
A-little-bit-of-data opened this issue Aug 20, 2024 · 0 comments
Open

Base Images choose in docker #3

A-little-bit-of-data opened this issue Aug 20, 2024 · 0 comments

Comments

@A-little-bit-of-data
Copy link

Hello, I have some questions and would like to ask . 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.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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant