You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2018/04/19 23:51:22 UTC

[3/4] impala git commit: IMPALA-6884: Skip test_misaligned_orc_stripes on invalid platforms

IMPALA-6884: Skip test_misaligned_orc_stripes on invalid platforms

test_misaligned_orc_stripes relies on generating files
with a specific number of HDFS blocks. This is not
possible on S3, ADLS, or Isilon, so the test needs to
be skipped on those platforms. Additionally, it relies
on running multiple impalads, so it needs to be skipped
on local filesystem tests.

Change-Id: I8395b4eb06847a35c630b3ef43e289960d78382a
Reviewed-on: http://gerrit.cloudera.org:8080/10117
Reviewed-by: Vuk Ercegovac <ve...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/a12d19c7
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/a12d19c7
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/a12d19c7

Branch: refs/heads/master
Commit: a12d19c794e0d8a9bd3ae62be3718c1b803c33db
Parents: abcc135
Author: Joe McDonnell <jo...@cloudera.com>
Authored: Thu Apr 19 10:30:46 2018 -0700
Committer: Impala Public Jenkins <im...@cloudera.com>
Committed: Thu Apr 19 21:58:48 2018 +0000

----------------------------------------------------------------------
 tests/query_test/test_scanners.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/a12d19c7/tests/query_test/test_scanners.py
----------------------------------------------------------------------
diff --git a/tests/query_test/test_scanners.py b/tests/query_test/test_scanners.py
index bae52a6..89da580 100644
--- a/tests/query_test/test_scanners.py
+++ b/tests/query_test/test_scanners.py
@@ -912,6 +912,10 @@ class TestOrc(ImpalaTestSuite):
     cls.ImpalaTestMatrix.add_constraint(
       lambda v: v.get_value('table_format').file_format == 'orc')
 
+  @SkipIfS3.hdfs_block_size
+  @SkipIfADLS.hdfs_block_size
+  @SkipIfIsilon.hdfs_block_size
+  @SkipIfLocal.multiple_impalad
   def test_misaligned_orc_stripes(self, vector, unique_database):
     self._build_lineitem_table_helper(unique_database, 'lineitem_threeblocks',
         'lineitem_threeblocks.orc')