hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gaojinchao (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4681) StringIndexOutOfBoundsException parsing Hostname
Date Fri, 28 Oct 2011 03:50:32 GMT

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

gaojinchao commented on HBASE-4681:
-----------------------------------

Hi , 
operation:
1.kill -9 master
2.start master

I seen this logs:
2011-10-27 23:50:23,994 ERROR org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Node
/hbase/master already exists and this is not a retry
2011-10-27 23:50:24,000 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception.
Starting shutdown.
java.lang.IllegalArgumentException: Not a host:port pair: C3S31,20000,1319773760617
	at org.apache.hadoop.hbase.util.Addressing.parseHostname(Addressing.java:74)
	at org.apache.hadoop.hbase.ServerName.<init>(ServerName.java:95)
	at org.apache.hadoop.hbase.ServerName.parseVersionedServerName(ServerName.java:277)
	at org.apache.hadoop.hbase.master.ActiveMasterManager.blockUntilBecomingActiveMaster(ActiveMasterManager.java:148)
	at org.apache.hadoop.hbase.master.HMaster.becomeActiveMaster(HMaster.java:347)
	at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:302)
	at java.lang.Thread.run(Thread.java:662)
2011-10-27 23:50:24,002 INFO org.apache.hadoop.hbase.master.HMaster: Aborting
2011-10-27 23:50:24,002 DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping service threads

it seems data are garbled:

[zk: C3S32:2181(CONNECTED) 33] get /hbase/master
�
8974@C3S31C3S31,20000,1319773760617
cZxid = 0x200015375
ctime = Thu Oct 27 23:49:20 EDT 2011
mZxid = 0x200015375
mtime = Thu Oct 27 23:49:20 EDT 2011
pZxid = 0x200015375
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x3333a99db180010
dataLength = 40
numChildren = 0
[zk: C3S32:2181(CONNECTED) 34] quit
Quitting...



                
> StringIndexOutOfBoundsException parsing Hostname
> ------------------------------------------------
>
>                 Key: HBASE-4681
>                 URL: https://issues.apache.org/jira/browse/HBASE-4681
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.92.0
>
>
> Starting a 0.92 on 0.90 data with 0.90 zk ensemble I got this:
> {code}
> 2011-10-26 06:13:53,920 ERROR org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper:
Node /hbase/master already exists and this is not a retry
> 2011-10-26 06:13:53,927 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception.
Starting shutdown.
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>         at java.lang.String.substring(String.java:1937)
>         at org.apache.hadoop.hbase.ServerName.parseHostname(ServerName.java:81)
>         at org.apache.hadoop.hbase.ServerName.<init>(ServerName.java:63)
>         at org.apache.hadoop.hbase.master.ActiveMasterManager.blockUntilBecomingActiveMaster(ActiveMasterManager.java:148)
>         at org.apache.hadoop.hbase.master.HMaster.becomeActiveMaster(HMaster.java:346)
>         at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:301)
>         at java.lang.Thread.run(Thread.java:662)
> 2011-10-26 06:13:53,929 INFO org.apache.hadoop.hbase.master.HMaster: Aborting
> 2011-10-26 06:13:53,929 DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping service
thre
> {code}
> I thought this had been fixed.  Dig in .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message