hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6488) HBase wont run on IPv6 on OSes that use zone-indexes
Date Sun, 07 Apr 2013 04:43:17 GMT

     [ https://issues.apache.org/jira/browse/HBASE-6488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack updated HBASE-6488:
-------------------------

    Fix Version/s:     (was: 0.95.0)
                   0.94.2

Fix up after bulk move overwrote some 0.94.2 fix versions w/ 0.95.0 (Noticed by Lars Hofhansl)
                
> HBase wont run on IPv6 on OSes that use zone-indexes
> ----------------------------------------------------
>
>                 Key: HBASE-6488
>                 URL: https://issues.apache.org/jira/browse/HBASE-6488
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.0
>            Reporter: ryan rawson
>            Assignee: ryan rawson
>             Fix For: 0.94.2
>
>         Attachments: HBASE-6488-trunk.txt, HBASE-6488.txt
>
>
> In IPv6, an address may have a zone-index, which is specified with a percent, eg: ...%0.
 This looks like a format string, and thus in a part of the code which uses the hostname as
a prefix to another string which is interpreted with String.format, you end up with an exception:
> 2012-07-31 18:21:39,848 FATAL org.apache.hadoop.hbase.master.HMaster:
> Unhandled exception. Starting shutdown.
> java.util.UnknownFormatConversionException: Conversion = '0'
>         at java.util.Formatter.checkText(Formatter.java:2503)
>         at java.util.Formatter.parse(Formatter.java:2467)
>         at java.util.Formatter.format(Formatter.java:2414)
>         at java.util.Formatter.format(Formatter.java:2367)
>         at java.lang.String.format(String.java:2769)
>         at com.google.common.util.concurrent.ThreadFactoryBuilder.setNameFormat(ThreadFactoryBuilder.java:68)
>         at org.apache.hadoop.hbase.executor.ExecutorService$Executor.<init>(ExecutorService.java:299)
>         at org.apache.hadoop.hbase.executor.ExecutorService.startExecutorService(ExecutorService.java:185)
>         at org.apache.hadoop.hbase.executor.ExecutorService.startExecutorService(ExecutorService.java:227)
>         at org.apache.hadoop.hbase.master.HMaster.startServiceThreads(HMaster.java:821)
>         at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:507)
>         at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:344)
>         at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.run(HMasterCommandLine.java:220)
>         at java.lang.Thread.run(Thread.java:680)
> 2012-07-31 18:21:39,908 INFO org.apache.hadoop.hbase.master.HMaster: Aborting

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message