[
https://issues.apache.org/jira/browse/IMPALA-14155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17979266#comment-17979266
]
Quanlong Huang commented on IMPALA-14155:
-----------------------------------------
Arthas shows that the AWS sdk bundle jar also has SLF4J and it's being used:
{noformat}
[arthas@661109]$ sc -d org.slf4j.LoggerFactory
class-info org.slf4j.LoggerFactory
code-source
/root/.m2/repository/software/amazon/awssdk/bundle/2.24.6/bundle-2.24.6.jar
name org.slf4j.LoggerFactory
isInterface false
isAnnotation false
isEnum false
isAnonymousClass false
isArray false
isLocalClass false
isMemberClass false
isPrimitive false
isSynthetic false
simple-name LoggerFactory
modifier final,public
annotation
interfaces
super-class +-java.lang.Object
class-loader +-sun.misc.Launcher$AppClassLoader@764c12b6
+-sun.misc.Launcher$ExtClassLoader@277191b9
classLoaderHash 764c12b6
Affect(row-cnt:1) cost in 8 ms.{noformat}
META-INF/maven/org.slf4j/slf4j-api/pom.xml in bundle-2.24.6.jar shows that the
version of slf4j is 1.7.30
{code:xml}
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
<version>1.7.30</version>
</parent>{code}
What Impala expects to use is slf4j-2.0.3. Removing the bundle jar resolves the
issue.
> Missing Java logs when running on Apache Hive3
> ----------------------------------------------
>
> Key: IMPALA-14155
> URL: https://issues.apache.org/jira/browse/IMPALA-14155
> Project: IMPALA
> Issue Type: Bug
> Reporter: Quanlong Huang
> Assignee: Quanlong Huang
> Priority: Major
>
> When building on Apache Hive 3.1.3 (i.e. USE_APACHE_COMPONENTS=true),
> catalogd and impalad logs are missing almost all the Java logs. The only log
> of the Java codes is
> {code}
> I20250616 00:31:31.442186 626874 GlogAppender.java:140] Logging
> (re)initialized. Impala: VLOG, All other: INFO{code}
> Some tests failed due to this, e.g.
> tests/custom_cluster/test_local_catalog.py::TestLocalCatalogCompactUpdates::test_restart_catalogd
> Note that C++ logs are shown as expected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]