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

Ted Yu commented on HBASE-7723:
-------------------------------

I got the following test failure:

testDelayedDeleteOnFailure(org.apache.hadoop.hbase.master.TestDistributedLogSplitting)
  Time elapsed: 25.702 sec  <<< ERROR!
java.util.concurrent.ExecutionException: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
  at java.util.concurrent.FutureTask.get(FutureTask.java:91)
  at 
org.apache.hadoop.hbase.master.TestDistributedLogSplitting.testDelayedDeleteOnFailure(TestDistributedLogSplitting.java:316)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
  at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
  at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  at 
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
range: -1
  at java.lang.String.substring(String.java:1931)
  at java.lang.String.substring(String.java:1904)
  at 
org.apache.hadoop.hbase.master.SplitLogManager.splitLogDistributed(SplitLogManager.java:260)
  at 
org.apache.hadoop.hbase.master.SplitLogManager.splitLogDistributed(SplitLogManager.java:228)
  at 
org.apache.hadoop.hbase.master.TestDistributedLogSplitting$2.run(TestDistributedLogSplitting.java:297)
                
> Remove NN URI from ZK splitlogs.
> --------------------------------
>
>                 Key: HBASE-7723
>                 URL: https://issues.apache.org/jira/browse/HBASE-7723
>             Project: HBase
>          Issue Type: Bug
>          Components: hadoop2, master
>    Affects Versions: 0.92.0
>            Reporter: Kevin Odell
>            Assignee: Himanshu Vashishtha
>         Attachments: HBASE-7723-94.patch
>
>
> When moving to HDFS HA or removing HA we end up changing the NN namespace.  
> This can cause the HMaster not to start up fully due to trying to split 
> phantom HLogs pointing to the wrong FS - java.lang.IllegalArgumentException: 
> Wrong FS: error messages.  The HLogs in question might not even be on HDFS 
> anymore.  You have to go in a manually clear out the ZK splitlogs directory 
> to get HBase to properly boot up.

--
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

Reply via email to