impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brown (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) IMPALA-3329: custom cluster tests: set -max_log_files to unlimited
Date Thu, 21 Apr 2016 22:20:26 GMT
Michael Brown has uploaded a new patch set (#2).

Change subject: IMPALA-3329: custom cluster tests: set -max_log_files to unlimited

IMPALA-3329: custom cluster tests: set -max_log_files to unlimited

In custom cluster tests, the Impala mini-cluster is restarted as part of
the setup phase of every test, which means this is done more than 10
times. This means that on the 11th and subsequent start, some logs are
rotated out, since the -max_log_files default is 10. This is a problem
if one of the earlier custom cluster tests failed, and there is no
access to the impalad et al logs during the test.

Plumb setting of -max_log_files to catalogd, statestored, and impalad
through via environment variable
IMPALA_MAX_LOG_FILES. Keep its default to 10 so as not to blow up the
size of log directories, except when running the custom cluster tests.
When running those tests, set IMPALA_MAX_LOG_FILES to 0 to preserve all
logs. Only allow one test run's logs to exist in the directory at a

Change-Id: Iefbb2a8616adcb0cd2fb838505117e0e9ba39083
M bin/
M bin/
M bin/
3 files changed, 20 insertions(+), 2 deletions(-)

  git pull ssh:// refs/changes/59/2759/2
To view, visit
To unsubscribe, visit

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iefbb2a8616adcb0cd2fb838505117e0e9ba39083
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Michael Brown <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Michael Brown <>

View raw message