[
https://issues.apache.org/jira/browse/HBASE-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054742#comment-13054742
]
Gary Helmling commented on HBASE-4025:
--------------------------------------
(repeating above but with formatting fixed)...
Since we already have rules for valid user table names, why not just apply
those in the directory listing?
User tables are not allowed to start with '.' or '\-', so ignore directory
entries beginning with those. Special case '.META.' and '\-ROOT\-', since
that's what we do most places for those 2 tables anyway.
We already generally are following a convention of "system" directories
starting with '.', so this seems sufficient to me. No need to move anything
around.
> Server startup fails during startup due to failure in loading all table
> descriptors. We should ignore .logs,.oldlogs,.corrupt,.META.,-ROOT- folders
> while reading descriptors
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-4025
> URL: https://issues.apache.org/jira/browse/HBASE-4025
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.92.0
> Reporter: Subbu M Iyer
> Assignee: Subbu M Iyer
> Attachments:
> HBASE-4025_-_Server_startup_fails_while_reading_table_descriptor_from__corrupt_folder_1.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> 2011-06-23 21:39:52,524 WARN org.apache.hadoop.hbase.monitoring.TaskMonitor:
> Status org.apache.hadoop.hbase.monitoring.MonitoredTaskImpl@2f56f920 appears
> to have been leaked
> 2011-06-23 21:40:06,465 WARN org.apache.hadoop.hbase.master.HMaster: Failed
> getting all descriptors
> java.io.FileNotFoundException: No status for
> hdfs://ciq.com:9000/hbase/.corrupt
> at
> org.apache.hadoop.hbase.util.FSUtils.getTableInfoModtime(FSUtils.java:888)
> at
> org.apache.hadoop.hbase.util.FSTableDescriptors.get(FSTableDescriptors.java:122)
> at
> org.apache.hadoop.hbase.util.FSTableDescriptors.getAll(FSTableDescriptors.java:149)
> at
> org.apache.hadoop.hbase.master.HMaster.getHTableDescriptors(HMaster.java:1442)
> 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.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:340)
> at
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1138)
> 2011-06-23 21:40:26,790 WARN org.apache.hadoop.hbase.master.HMaster: Failed
> getting all descriptors
> java.io.FileNotFoundException: No status for
> hdfs://ciq.com:9000/hbase/.corrupt
> at
> org.apache.hadoop.hbase.util.FSUtils.getTableInfoModtime(FSUtils.java:888)
> at
> org.apache.hadoop.hbase.util.FSTableDescriptors.get(FSTableDescriptors.java:122)
> at
> org.apache.hadoop.hbase.util.FSTableDescriptors.getAll(FSTableDescriptors.java:149)
> at
> org.apache.hadoop.hbase.master.HMaster.getHTableDescriptors(HMaster.java:1442)
> 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.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:340)
> at
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1138)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira