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
Azkaban solo server & H2 : The file is locked #1038
Comments
Have you tried enforcing H2 never locking a file and see what happened? |
Not solve the issue but we have a different error ! I delete all H2 files to restart from scratch and I configure azkaban with :
After ~24 hours of run I got a azkaban crash (webserver UI is up but any sql query fails) :
|
For test purpose I relaunch the 3.20 instance with the h2 jar of the 3.0.0 release (h2-1.3.170.jar in place of h2-1.4.193.jar). |
@hriviere |
Hi,
We recently update our Azkaban solo server instance with a embded H2 database from 3.0.0 release to 3.20.0.
We set the h2.path to a different one to recreate database from scratch to avoid version conflict.
After some time (between 2 to 12 hours) Azkaban crash due to the h2 database locked
org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/opt/data/azkaban.mv.db [1.4.193/7]" [50000-193]
The database never unlock (so all sql queries from azkaban fail) unless we restart azkaban instance
We have only one instance on the server and the h2 file is only used by Azkaban solo server.
With the previous release (3.0.0) we never had this error.
Is someone has insight about what happen ?
Thanks !
The text was updated successfully, but these errors were encountered: