Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6BBF5200D2B for ; Thu, 19 Oct 2017 02:58:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6A389160BEA; Thu, 19 Oct 2017 00:58:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B0F76160BEB for ; Thu, 19 Oct 2017 02:58:18 +0200 (CEST) Received: (qmail 68429 invoked by uid 500); 19 Oct 2017 00:58:17 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 68418 invoked by uid 99); 19 Oct 2017 00:58:17 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2017 00:58:17 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D110BDFBC7; Thu, 19 Oct 2017 00:58:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vihangk1@apache.org To: commits@hive.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: hive git commit: HIVE-17805 : SchemaTool validate locations should not return exit 1 (Vihang Karajgaonkar) Date: Thu, 19 Oct 2017 00:58:16 +0000 (UTC) archived-at: Thu, 19 Oct 2017 00:58:19 -0000 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 Authored: Fri Oct 13 15:22:43 2017 -0700 Committer: Vihang Karajgaonkar 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) {