Reply
New Contributor
Posts: 3
Registered: ‎10-13-2017

Impalad ERROR log is not rotating

[ Edited ]

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

Announcements