Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19319


Change subject: IMPALA-11756: Add error messages and debug logs in 
CatalogdMetaProviderTest and PartialCatalogInfoWriteIdTest
......................................................................

IMPALA-11756: Add error messages and debug logs in CatalogdMetaProviderTest and 
PartialCatalogInfoWriteIdTest

We saw several test failures on collecting file metadata after minor
compaction in Hive. However, I can't reproduce the failure by running
the tests around 100 times.

To ease our debug, this patch adds error messages to print the actual
file paths. Also adds more logs to locate the time range when the test
runs.

Tests:
 - Ran CatalogdMetaProviderTest and PartialCatalogInfoWriteIdTest
   locally. Verified the new logs exist.
 - Modified the expected value to fail the tests. Verified the error
   messages work as expected.

Change-Id: I806cc35da5a758215b8dc6cc2df86a7a968301da
---
M fe/src/test/java/org/apache/impala/catalog/PartialCatalogInfoWriteIdTest.java
M fe/src/test/java/org/apache/impala/catalog/local/CatalogdMetaProviderTest.java
M fe/src/test/java/org/apache/impala/testutil/HiveJdbcClientPool.java
3 files changed, 41 insertions(+), 6 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I806cc35da5a758215b8dc6cc2df86a7a968301da
Gerrit-Change-Number: 19319
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to