hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject [hbase-operator-tools] branch master updated: HBASE-22825 addendum Fix invalid function call (from usage to showErrorMessage) (#23)
Date Fri, 06 Sep 2019 05:01:08 GMT
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 <jfr@core-services.fr>
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 <busbey@apache.org>
---
 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())
{


Mime
View raw message