Created 07-11-2023 01:58 AM
I encountered an error with the following description after installing YARN Queue Manager:
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Log file error: "/var/lib/hadoop-yarn/config-service.trace.db", cause: "java.io.FileNotFoundException: /var/lib/hadoop-yarn/config-service.trace.db (Permission denied)" [90034-198] at org.h2.message.DbException.getJdbcSQLException(DbException.java:502) at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) ... 38 more Caused by: java.io.FileNotFoundException: /var/lib/hadoop-yarn/config-service.trace.db (Permission denied)
I have searched, but I couldn't find anyone experiencing the same error as me. Could you please assist me?😥
Created 02-13-2024 01:17 AM
Do this to fix your issue:
change the config something like this ...
add yaml env variable "${dir_for_config}" note that '~/' is bash expansion [0] eg: ... conf.yml
dbConfig: dbType: H2 driver: org.h2.Driver url: jdbc:h2:~/${dir_for_config}/config-service;DB_CLOSE_DELAY=-1;AUTO_RECONNECT=TRUE;DB_CLOSE_ON_EXIT=FALSE
In CM WebUI CM> Yarn Queue...>Conf>
find "YARN Queue Manager Service Environment Advanced Configuration Snippet (Safety Valve)"add: key: dir_for_config value: x
Created 04-23-2024 06:18 AM
Hi @DanhH ,
Please accept this as a solution if it helped.