[ 
https://issues.apache.org/jira/browse/IMPALA-14155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17979244#comment-17979244
 ] 

Quanlong Huang commented on IMPALA-14155:
-----------------------------------------

Another Java log that I saw is from JvmPauseMonitor.java
{code:java}
I20250616 06:53:54.435485 660059 JvmPauseMonitor.java:209] Detected pause in 
JVM or host machine (eg GC): pause of approximately 7953ms{code}
This class uses the Logger from log4j directly:
{code:java}
import org.apache.log4j.Logger;
...
public class JvmPauseMonitor {
  private static final Logger LOG = 
Logger.getLogger(JvmPauseMonitor.class);{code}
Most of the Java classes use Logger of slf4j and all of their logs are missing:
{code:java}
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
...
public class Frontend {
  private final static Logger LOG = 
LoggerFactory.getLogger(Frontend.class);{code}
Debugging the code found that the Logger is somehow initialized as a 
org.slf4j.helpers.NOPLogger(NOP). I think that explains why their logs are 
missing. Need to find the cause how this happens.

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

Reply via email to