From commits-return-89061-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Fri Sep 6 05:01:10 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 21F7D180656 for ; Fri, 6 Sep 2019 07:01:10 +0200 (CEST) Received: (qmail 54139 invoked by uid 500); 6 Sep 2019 15:15:19 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 54124 invoked by uid 99); 6 Sep 2019 15:15:19 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2019 15:15:19 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id ECFDC80855; Fri, 6 Sep 2019 05:01:08 +0000 (UTC) Date: Fri, 06 Sep 2019 05:01:08 +0000 To: "commits@hbase.apache.org" Subject: [hbase-operator-tools] branch master updated: HBASE-22825 addendum Fix invalid function call (from usage to showErrorMessage) (#23) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <156774606875.13828.6165035593347164030@gitbox.apache.org> From: busbey@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: hbase-operator-tools X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 955360abebdd39bf409e9514c992db4154129a77 X-Git-Newrev: 9445b8a4d45926aaa0449a3fa105947a46a94ae9 X-Git-Rev: 9445b8a4d45926aaa0449a3fa105947a46a94ae9 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. busbey pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hbase-operator-tools.git The following commit(s) were added to refs/heads/master by this push: new 9445b8a HBASE-22825 addendum Fix invalid function call (from usage to showErrorMessage) (#23) 9445b8a is described below commit 9445b8a4d45926aaa0449a3fa105947a46a94ae9 Author: Fabrice AuthorDate: Thu Sep 5 22:01:04 2019 -0700 HBASE-22825 addendum Fix invalid function call (from usage to showErrorMessage) (#23) Signed-off-by: Sean Busbey --- hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java index 60e8e29..3a4bd9a 100644 --- a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java +++ b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java @@ -593,7 +593,7 @@ public class HBCK2 extends Configured implements org.apache.hadoop.util.Tool { case FIX_META: if (commands.length > 1) { - usage(options, command + " doesn't take any arguments"); + showErrorMessage(command + " doesn't take any arguments"); return EXIT_FAILURE; } try (ClusterConnection connection = connect(); Hbck hbck = connection.getHbck()) {