hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vihan...@apache.org
Subject hive git commit: HIVE-17805 : SchemaTool validate locations should not return exit 1 (Vihang Karajgaonkar)
Date Thu, 19 Oct 2017 00:58:16 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-2 cda7e01c5 -> dd39330f6


HIVE-17805 : SchemaTool validate locations should not return exit 1 (Vihang Karajgaonkar)


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

Branch: refs/heads/branch-2
Commit: dd39330f6f0de775063d46580809bab4135fa7f0
Parents: cda7e01
Author: Vihang Karajgaonkar <vihang@cloudera.com>
Authored: Fri Oct 13 15:22:43 2017 -0700
Committer: Vihang Karajgaonkar <vihang@cloudera.com>
Committed: Wed Oct 18 17:52:50 2017 -0700

----------------------------------------------------------------------
 beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/dd39330f/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java
----------------------------------------------------------------------
diff --git a/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java b/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java
index 4255ebd..2af5b2c 100644
--- a/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java
+++ b/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java
@@ -618,14 +618,12 @@ public class HiveSchemaTool {
       if (validateLocations(conn, this.validationServers)) {
         System.out.println("[SUCCESS]\n");
       } else {
-        success = false;
-        System.out.println("[FAIL]\n");
+        System.out.println("[WARN]\n");
       }
       if (validateColumnNullValues(conn)) {
         System.out.println("[SUCCESS]\n");
       } else {
-        success = false;
-        System.out.println("[FAIL]\n");
+        System.out.println("[WARN]\n");
       }
     } finally {
       if (conn != null) {


Mime
View raw message