hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Wong <>
Subject RE: Hive logging concurrency
Date Thu, 02 Jun 2011 20:59:45 GMT
After researching on the web, the lost log lines is apparently an issue with DailyRollingFileAppender
that may have been fixed in 1.2.16 (see

On the other hand, DailyRollingFileAppender's documentation recommends using RollingFileAppender
to avoid "synchronization issues and data loss."

On the third hand, I really should look into using separate log files for separate Hive clients.
Interleaved log lines from concurrent Hive clients make debugging difficult.

From: Steven Wong []
Sent: Wednesday, June 01, 2011 6:32 PM
Subject: Hive logging concurrency

By default, all Hive clients log to the same file called hive.log via DRFA. What I'm seeing
is that many log lines are "lost" after hive.log is rolled over to hive.log.YYYY-MM-DD. Is
this an issue with DRFA? What do folks do to avoid this problem when using concurrent Hive


View raw message