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 2019/05/02 17:41:22 UTC

[impala] 03/03: IMPALA-8481: Pass username in test_hbase_col_filter

This is an automated email from the ASF dual-hosted git repository.

tarmstrong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit f22445fdb266ea6e835892d9a0885b283c84ca0c
Author: David Knupp <dk...@cloudera.com>
AuthorDate: Mon Apr 29 14:31:52 2019 -0700

    IMPALA-8481: Pass username in test_hbase_col_filter
    
    This test will fail if run against a deployed cluster, since the
    default using running the test may not have the correct permissions.
    
    Confirmed fix by running the test on a local minicluster build, as
    well as on the deployed cluster.
    
    Change-Id: Ib9f6c51b8b30087c56c0499923604e1484239468
    Reviewed-on: http://gerrit.cloudera.org:8080/13214
    Reviewed-by: Tim Armstrong <ta...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 tests/query_test/test_hbase_queries.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/query_test/test_hbase_queries.py b/tests/query_test/test_hbase_queries.py
index 4fa286b..ae68fa4 100644
--- a/tests/query_test/test_hbase_queries.py
+++ b/tests/query_test/test_hbase_queries.py
@@ -85,8 +85,8 @@ class TestHBaseQueries(ImpalaTestSuite):
     del_table = "DROP TABLE IF EXISTS {0}".format(table_name)
 
     try:
-      self.run_stmt_in_hive(cr_table)
-      self.run_stmt_in_hive(add_data)
+      self.run_stmt_in_hive(cr_table, username='hdfs')
+      self.run_stmt_in_hive(add_data, username='hdfs')
       self.client.execute("invalidate metadata {0}".format(table_name))
       self.run_test_case('QueryTest/hbase-col-filter', vector, unique_database)
     finally: