smengcl commented on code in PR #11650:
URL: https://github.com/apache/ozone/pull/11650#discussion_r4577969455


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/ReconControllerModule.java:
##########
@@ -237,6 +237,12 @@ DataSourceConfiguration getDataSourceConfiguration(
     ReconSqlDbConfig sqlDbConfig =
         ozoneConfiguration.getObject(ReconSqlDbConfig.class);
 
+    if (StringUtils.startsWith(sqlDbConfig.getJdbcUrl(), "jdbc:derby:")) {
+      LOG.warn("Derby is no longer supported for the Recon SQL DB. Ignoring 
the configured {} and using the SQLite "

Review Comment:
   Thanks @chihsuan, added `@Singleton` to `getDataSourceConfiguration` in 
076db16ea83, so the config (and the Derby warning) is built once per startup.
   
   _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to