You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Alex Behm (Code Review)" <ge...@cloudera.org> on 2016/05/14 02:09:07 UTC

[Impala-CR](cdh5-trunk) IMPALA-3491: Use unique_database fixture in test_hbase_metadata.py.

Alex Behm has uploaded a new change for review.

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

Change subject: IMPALA-3491: Use unique_database fixture in test_hbase_metadata.py.
......................................................................

IMPALA-3491: Use unique_database fixture in test_hbase_metadata.py.

- Moves the test into compute_stats.py
- Changes some test classes in compute_stats.py to inherit from
  ImpalaTestSuite and not from TestComputeStats because that
  will cause all tests in TestComputeStats to be run in the
  subclasses again (redundantly).
- Clean up and add more coverage to testing incremental stats on
  HBase which was probably broken in this commit 6b32ff06.
- Fixes a side effect that the original test had for testing
  incremental stats on HBase. It computes stats on a functional
  table which was not supposed to have stats.

Testing: Ran compute_stats.py on exhaustive locally in a loop 10 times.
Did a private hdfs/core run.

Change-Id: Iee8b84e30948c3c98166e08cae2666574777730c
---
M testdata/workloads/functional-query/queries/QueryTest/hbase-compute-stats-incremental.test
M testdata/workloads/functional-query/queries/QueryTest/hbase-compute-stats.test
M tests/metadata/test_compute_stats.py
D tests/metadata/test_hbase_metadata.py
4 files changed, 89 insertions(+), 79 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee8b84e30948c3c98166e08cae2666574777730c
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Alex Behm <al...@cloudera.com>