[ 
https://issues.apache.org/jira/browse/HBASE-21303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648187#comment-16648187
 ] 

stack commented on HBASE-21303:
-------------------------------

Just tried this patch on my cluster....

{code}
[stack@vc0207 ~]$ HBASE_CLASSPATH_PREFIX="./hbase-client-2.1.1-SNAPSHOT.jar" 
hbase shell
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated 
and will likely be removed in a future release
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/opt/cloudera/parcels/CDH-6.0.0-1.cdh6.0.0.p0.537114/jars/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/opt/cloudera/parcels/hbase-2.1.1-SNAPSHOT-8a16d37c8278b78a833b2b4f7d1f8d8e/lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
HBase Shell
Use "help" to get list of supported commands.
Use "exit" to quit this interactive shell.
For Reference, please visit: http://hbase.apache.org/2.0/book.html#shell
Version 2.1.1-SNAPSHOT, r, Thu Oct 11 15:27:51 PDT 2018
Took 0.0028 seconds
hbase(main):001:0> clear_deadservers
true
Took 0.6148 seconds
=> 1
{code}

Balancer still didn't run though. HBASE-21266.

> [shell] clear_deadservers with no args fails
> --------------------------------------------
>
>                 Key: HBASE-21303
>                 URL: https://issues.apache.org/jira/browse/HBASE-21303
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Stack
>            Assignee: stack
>            Priority: Major
>             Fix For: 2.1.1
>
>
> Tried running clear_deadservers on tip of branch-2.1 and it fails
> {code}
> hbase(main):007:0> help "clear_deadservers"
>           Clear the dead region servers that are never used.
>           Examples:
>           Clear all dead region servers:
>           hbase> clear_deadservers
>           Clear the specified dead region servers:
>           hbase> clear_deadservers 'host187.example.com,60020,1289493121758'
>           or
>           hbase> clear_deadservers 'host187.example.com,60020,1289493121758',
>                                    'host188.example.com,60020,1289493121758'
> hbase(main):008:0> clear_deadservers
> ERROR: servers cannot be null or empty
> For usage try 'help "clear_deadservers"'
> Took 0.0094 seconds
> hbase(main):009:0> clear_deadservers
> ERROR: servers cannot be null or empty
> For usage try 'help "clear_deadservers"'
> Took 0.0084 seconds
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to