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 2020/10/10 02:54:19 UTC

[impala] branch master updated: IMPALA-10225: bump impyla version to 0.17a1

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


The following commit(s) were added to refs/heads/master by this push:
     new b8a2b75  IMPALA-10225: bump impyla version to 0.17a1
b8a2b75 is described below

commit b8a2b754669eb7f8d164e8112e594ac413e436ef
Author: Tim Armstrong <ta...@cloudera.com>
AuthorDate: Wed Oct 7 15:22:58 2020 -0700

    IMPALA-10225: bump impyla version to 0.17a1
    
    Update a couple of tests with the new improved error messages.
    
    Change-Id: I70a0e883275f3c29e2b01fd5bab7725857c8a1ed
    Reviewed-on: http://gerrit.cloudera.org:8080/16562
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 .../java/org/apache/impala/customcluster/LdapImpylaHttpTest.java    | 6 ++++--
 infra/python/deps/compiled-requirements.txt                         | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/fe/src/test/java/org/apache/impala/customcluster/LdapImpylaHttpTest.java b/fe/src/test/java/org/apache/impala/customcluster/LdapImpylaHttpTest.java
index b551ec8..904b0d0 100644
--- a/fe/src/test/java/org/apache/impala/customcluster/LdapImpylaHttpTest.java
+++ b/fe/src/test/java/org/apache/impala/customcluster/LdapImpylaHttpTest.java
@@ -96,10 +96,12 @@ public class LdapImpylaHttpTest {
     RunShellCommand.Run(validCmd, /*shouldSucceed*/ true, testUser_, "");
     // 2. Invalid username password combination. Should fail.
     String[] invalidCmd = buildCommand("foo", "bar", null);
-    RunShellCommand.Run(invalidCmd, /*shouldSucceed*/ false, "", "EOFError");
+    RunShellCommand.Run(
+        invalidCmd, /*shouldSucceed*/ false, "", "HTTP code 401: Unauthorized");
     // 3. Without username and password. Should fail.
     String[] noAuthCmd = {"impala-python", helper_, "--query", query_};
-    RunShellCommand.Run(noAuthCmd, /*shouldSucceed*/ false, "", "EOFError");
+    RunShellCommand.Run(
+        noAuthCmd, /*shouldSucceed*/ false, "", "HTTP code 401: Unauthorized");
   }
 
   private String[] buildCommand(String user, String password, String httpPath) {
diff --git a/infra/python/deps/compiled-requirements.txt b/infra/python/deps/compiled-requirements.txt
index 061e286..0914bc3 100644
--- a/infra/python/deps/compiled-requirements.txt
+++ b/infra/python/deps/compiled-requirements.txt
@@ -19,7 +19,7 @@
 # after the toolchain is bootstrapped. Installed after requirements.txt
 
 argparse == 1.4.0
-impyla == 0.16.2
+impyla == 0.17a1
   bitarray == 1.2.1
   sasl == 0.2.1
   six == 1.14.0