impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brown (Code Review)" <ger...@cloudera.org>
Subject [Impala-ASF-CR] IMPALA-4775: minor adjustments to python test infra logging
Date Thu, 19 Jan 2017 18:11:18 GMT
Michael Brown has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/5746

Change subject: IMPALA-4775: minor adjustments to python test infra logging
......................................................................

IMPALA-4775: minor adjustments to python test infra logging

- Set up log handler to append, not truncate. This was the cause of
  IMPALA-4775.

Other improvements:
- Log a thread name, not thread ID. Thread names are more useful.
- Use ISO 8601-like timestamps

I tested that running disrepancy_searcher.py doesn't overwrite its logs
anymore. One such command that could reproduce it is:

tests/comparison/discrepancy_searcher.py \
  --use-postgresql \
  --query-count 1 \
  --db-name tpch_kudu

I also ensured the stress test (concurrent_select.py) still logged to
its file.

Change-Id: I2b7af5b2be20f3c6f38d25612f6888433c62d693
---
M tests/comparison/cli_options.py
M tests/comparison/discrepancy_searcher.py
M tests/stress/concurrent_select.py
3 files changed, 11 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/46/5746/1
-- 
To view, visit http://gerrit.cloudera.org:8080/5746
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b7af5b2be20f3c6f38d25612f6888433c62d693
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Michael Brown <mikeb@cloudera.com>

Mime
View raw message