Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Impalad ERROR log is not rotating

Highlighted

Impalad ERROR log is not rotating

New Contributor

Hello,

We are running CDH 5.15.1. We noticed that impala is not rotating ERROR log. I hope someone can provide tips how to get log rotation to work.

 

Here are the settings for Impala:

"Impala Daemon Max Log Size = 20MiB

"Impala Maximum Log Files" = 2

 

Those settings seem to work for WARNING and INFO logs but for ERROR it is growing above 20MiB and never rotates to second file.

 

-rw-r--r-- 1 impala impala 1 Sep 24 17:02 impalad.att-devcdhdn01.impala.log.ERROR.20180908-214631.16211
-rw-r--r-- 1 impala impala 552M Sep 25 13:46 impalad.att-devcdhdn01.impala.log.ERROR.20180924-170310.27252
-rw-r--r-- 1 impala impala 555 Nov 19 2016 impalad.att-devcdhdn01.impala.log.FATAL.20161119-212640.27431
-rw-r--r-- 1 impala impala 555 Nov 19 2016 impalad.att-devcdhdn01.impala.log.FATAL.20161119-212643.27515
-rw-r--r-- 1 impala impala 21M Sep 25 13:46 impalad.att-devcdhdn01.impala.log.INFO.20180925-124610.27252
-rw-r--r-- 1 impala impala 17M Sep 25 14:04 impalad.att-devcdhdn01.impala.log.INFO.20180925-134603.27252
-rw-r--r-- 1 impala impala 21M Sep 25 13:46 impalad.att-devcdhdn01.impala.log.WARNING.20180925-124610.27252
-rw-r--r-- 1 impala impala 17M Sep 25 14:04 impalad.att-devcdhdn01.impala.log.WARNING.20180925-134603.27252
lrwxrwxrwx 1 impala impala 61 Sep 24 17:03 impalad.ERROR -> impalad.att-devcdhdn01.impala.log.ERROR.20180924-170310.27252
lrwxrwxrwx 1 impala impala 61 Nov 19 2016 impalad.FATAL -> impalad.att-devcdhdn01.impala.log.FATAL.20161119-212643.27515
lrwxrwxrwx 1 impala impala 60 Sep 25 13:46 impalad.INFO -> impalad.att-devcdhdn01.impala.log.INFO.20180925-134603.27252
lrwxrwxrwx 1 impala impala 63 Sep 25 13:46 impalad.WARNING -> impalad.att-devcdhdn01.impala.log.WARNING.20180925-134603.27252

 

Screen Shot 2018-09-25 at 9.30.06 AM.png