[ https://issues.apache.org/jira/browse/CASSSIDECAR-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Saranya Krishnakumar updated CASSSIDECAR-250: --------------------------------------------- Change Category: Code Clarity Complexity: Low Hanging Fruit Component/s: Build Status: Open (was: Triage Needed) > Do not log whole exception when schema is not found > --------------------------------------------------- > > Key: CASSSIDECAR-250 > URL: https://issues.apache.org/jira/browse/CASSSIDECAR-250 > Project: Sidecar for Apache Cassandra > Issue Type: Improvement > Components: Build > Reporter: Stefan Miklosovic > Assignee: Saranya Krishnakumar > Priority: Major > > We do not need to see the exception itself if it is part of "normal" > behaviour when Sidecar is started and connecting to a node where these tables > are not present and we cope with it anyway. Just logging it is not there is > enough. Logging exception as well just confuses a user thinking something > went terribly wrong. > > {code:java} > spark_master_1 | WARN [sidecar-internal-worker-pool-12] 2025-05-20 > 19:44:07,106 AuthCache.java:169 - system_auth schema is unavailable. Skip > warming up cache > spark_master_1 | > org.apache.cassandra.sidecar.exceptions.SchemaUnavailableException: Table > system_auth.identity_to_role does not exist > spark_master_1 | at > org.apache.cassandra.sidecar.db.schema.SystemAuthSchema.ensureSchemaAvailable(SystemAuthSchema.java:104) > spark_master_1 | at > org.apache.cassandra.sidecar.db.schema.SystemAuthSchema.allRolesAndIdentities(SystemAuthSchema.java:81) > spark_master_1 | at > org.apache.cassandra.sidecar.db.SystemAuthDatabaseAccessor.findAllIdentityToRoles(SystemAuthDatabaseAccessor.java:84) > spark_master_1 | at > org.apache.cassandra.sidecar.acl.AuthCache.warmUp(AuthCache.java:165) > spark_master_1 | at > org.apache.cassandra.sidecar.acl.AuthCache.lambda$warmUpAsync$1(AuthCache.java:145) > spark_master_1 | at > org.apache.cassandra.sidecar.concurrent.TaskExecutorPool.lambda$runBlocking$4(TaskExecutorPool.java:197) > spark_master_1 | at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$4(ContextImpl.java:192) > spark_master_1 | at > io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:270) > spark_master_1 | at > io.vertx.core.impl.ContextImpl$1.execute(ContextImpl.java:221) > spark_master_1 | at > io.vertx.core.impl.WorkerTask.run(WorkerTask.java:56) > spark_master_1 | at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > spark_master_1 | at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > spark_master_1 | at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > spark_master_1 | at java.base/java.lang.Thread.run(Thread.java:829) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org