impala-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject [1/4] impala git commit: IMPALA-6244: Fix test failures with Hadoop 3.0
Date Fri, 01 Dec 2017 16:01:50 GMT
Repository: impala
Updated Branches:
  refs/heads/master 3ed122185 -> ea8d2ba7f


IMPALA-6244: Fix test failures with Hadoop 3.0

The metadata query test fails when run against Hadoop 3.0 due to
some defaults changing for sequence files.

Testing: Compared the output of
 hadoop fs -text
/test-warehouse/alltypesmixedformat/year=2009/month=2/000023_0
 and verified it is the same after a data load on Hadoop 2.6 and
 Hadoop 3.0; ran the metadata query test and verified it now
 passes in both cases.

Change-Id: I1ccffdb0f712da1feb55f839e8d87a30f15e4fb6
Reviewed-on: http://gerrit.cloudera.org:8080/8656
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: Impala Public Jenkins


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

Branch: refs/heads/master
Commit: 24c2ba0cc5560fb54c1695e7c14e1a62c55654b5
Parents: 3ed1221
Author: Zach Amsden <zamsden@cloudera.com>
Authored: Mon Nov 27 23:43:54 2017 +0000
Committer: Impala Public Jenkins <impala-public-jenkins@gerrit.cloudera.org>
Committed: Thu Nov 30 07:33:16 2017 +0000

----------------------------------------------------------------------
 .../functional-query/queries/QueryTest/show-stats.test    | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/24c2ba0c/testdata/workloads/functional-query/queries/QueryTest/show-stats.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/functional-query/queries/QueryTest/show-stats.test b/testdata/workloads/functional-query/queries/QueryTest/show-stats.test
index f6a3d99..11f8264 100644
--- a/testdata/workloads/functional-query/queries/QueryTest/show-stats.test
+++ b/testdata/workloads/functional-query/queries/QueryTest/show-stats.test
@@ -82,11 +82,11 @@ BIGINT, BIGINT, STRING, STRING, STRING, STRING, STRING, STRING
 show table stats alltypesmixedformat
 ---- LABELS
 YEAR, MONTH, #ROWS, #FILES, SIZE, BYTES CACHED, CACHE REPLICATION, FORMAT, INCREMENTAL STATS,
LOCATION
----- RESULTS
-'2009','1',-1,1,'19.59KB','NOT CACHED','NOT CACHED','TEXT','false','$NAMENODE/test-warehouse/alltypesmixedformat/year=2009/month=1'
-'2009','2',-1,1,'21.35KB','NOT CACHED','NOT CACHED','SEQUENCE_FILE','false','$NAMENODE/test-warehouse/alltypesmixedformat/year=2009/month=2'
-'2009','3',-1,1,'17.42KB','NOT CACHED','NOT CACHED','RC_FILE','false','$NAMENODE/test-warehouse/alltypesmixedformat/year=2009/month=3'
-'Total','',-1,3,'58.36KB','0B','','','',''
+---- RESULTS: VERIFY_IS_EQUAL
+'2009','1',-1,1,regex:.+KB,'NOT CACHED','NOT CACHED','TEXT','false','$NAMENODE/test-warehouse/alltypesmixedformat/year=2009/month=1'
+'2009','2',-1,1,regex:.+KB,'NOT CACHED','NOT CACHED','SEQUENCE_FILE','false','$NAMENODE/test-warehouse/alltypesmixedformat/year=2009/month=2'
+'2009','3',-1,1,regex:.+KB,'NOT CACHED','NOT CACHED','RC_FILE','false','$NAMENODE/test-warehouse/alltypesmixedformat/year=2009/month=3'
+'Total','',-1,3,regex:.+KB,'0B','','','',''
 ---- TYPES
 STRING, STRING, BIGINT, BIGINT, STRING, STRING, STRING, STRING, STRING, STRING
 ====


Mime
View raw message