[
https://issues.apache.org/jira/browse/HBASE-10190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Marc Spaggiari resolved HBASE-10190.
-----------------------------------------
Resolution: Invalid
Assignee: (was: Jean-Marc Spaggiari)
My bad, sorry.
I have added some output logs into bin/hbase but rolling_restart and others are
calling it to get zk information, and are parsing the result. So they was
taking my output logs as ZK info, and failed. Removing the output from
bin/hbase fixed the issue.
> rolling_restart java.lang.IllegalArgumentException
> --------------------------------------------------
>
> Key: HBASE-10190
> URL: https://issues.apache.org/jira/browse/HBASE-10190
> Project: HBase
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.98.0, 0.96.0, 0.99.0
> Reporter: Jean-Marc Spaggiari
> Priority: Minor
>
> Rolling restart is giving some words as hosts names. (I have added some
> output to the trace below),
> {code}
> hbase@hbasetest1:~$ time ./bin/rolling-restart.sh --graceful
> Gracefully restarting: Command
> 2013-12-17T15:06:08 Disabling load balancer
> 2013-12-17 15:06:11,817 INFO [main] Configuration.deprecation:
> hadoop.native.lib is deprecated. Instead, use io.native.lib.available
> 2013-12-17T15:06:15 Previous balancer state was true
> 2013-12-17T15:06:15 Unloading Command region(s)
> 2013-12-17 15:06:19,991 INFO [main] zookeeper.RecoverableZooKeeper: Process
> identifier=hconnection-0x6dabf4b connecting to ZooKeeper
> ensemble=hbasetest1.domain.com:2181
> 2013-12-17 15:06:20,301 INFO [main] region_mover: Looking for Command
> 2013-12-17 15:06:20,302 INFO [main] region_mover: Checking
> hbasetest4,60020,1387308979399
> 2013-12-17 15:06:20,302 INFO [main] region_mover:
> getHostnameFromServerName(server) = hbasetest4
> 2013-12-17 15:06:20,302 INFO [main] region_mover: Checking
> hbasetest3,60020,1387308979395
> 2013-12-17 15:06:20,303 INFO [main] region_mover:
> getHostnameFromServerName(server) = hbasetest3
> 2013-12-17 15:06:20,303 INFO [main] region_mover: Checking
> hbasetest2,60020,1387310715952
> 2013-12-17 15:06:20,303 INFO [main] region_mover:
> getHostnameFromServerName(server) = hbasetest2
> RuntimeError: Server Command not online
> stripServer at /home/hbase/bin/region_mover.rb:224
> unloadRegions at /home/hbase/bin/region_mover.rb:330
> (root) at /home/hbase/bin/region_mover.rb:484
> 2013-12-17T15:06:20 Unloaded Command region(s)
> 2013-12-17T15:06:20 Stopping regionserver
> Command: ssh: Could not resolve hostname Command: Name or service not known
> 2013-12-17T15:06:20 Restarting regionserver
> Command: ssh: Could not resolve hostname Command: Name or service not known
> 2013-12-17T15:06:21 Reloading Command region(s)
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)