You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2013/08/27 19:41:52 UTC

[jira] [Comment Edited] (HBASE-9314) Dropping a table always prints a TableInfoMissingException in the master log

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

Jean-Daniel Cryans edited comment on HBASE-9314 at 8/27/13 5:40 PM:
--------------------------------------------------------------------

I traced it back to HBASE-8692 which was marked as fixed for 0.94.9 but was really fixed in .10.

What happened is that HMaster.getHTableDescriptors(List) is now called instead of HMaster.getHTableDescriptors() in HBaseAdmin, and by design we call this method for specific tables until they are gone so not getting a HTD is expected.
                
      was (Author: jdcryans):
    I traced it back to HBASE-8692 which was marked as fixed for 0.94.9 but was really fixed in .10.

What happened is that HMaster.getHTableDescriptors(List) is now called instead of HMaster.getHTableDescriptors() in HBaseAdmin, and by design we call this method for specific tables until it is gone so not getting a HTD is expected.
                  
> Dropping a table always prints a TableInfoMissingException in the master log
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-9314
>                 URL: https://issues.apache.org/jira/browse/HBASE-9314
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.95.2, 0.94.10
>            Reporter: Jean-Daniel Cryans
>            Priority: Minor
>             Fix For: 0.98.0, 0.94.12, 0.96.0
>
>
> Everytime I drop a table I get the same stack trace in the master's log:
> {noformat}
> 2013-08-22 23:11:31,939 DEBUG [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:60000-0] org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Table 't' archived!
> 2013-08-22 23:11:31,939 DEBUG [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:60000-0] org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Removing 't' descriptor.
> 2013-08-22 23:11:31,940 DEBUG [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:60000-0] org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Marking 't' as deleted.
> 2013-08-22 23:11:31,944 DEBUG [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:60000-0] org.apache.hadoop.hbase.zookeeper.lock.ZKInterProcessLockBase: Released /hbase/table-lock/t/write-master:600000000000002
> 2013-08-22 23:11:32,024 DEBUG [RpcServer.handler=0,port=60000] org.apache.hadoop.hbase.util.FSTableDescriptors: Exception during readTableDecriptor. Current table name = t
> org.apache.hadoop.hbase.TableInfoMissingException: No table descriptor file under hdfs://jdec2hbase0403-1.vpc.cloudera.com:9000/hbase/data/default/t
> 	at org.apache.hadoop.hbase.util.FSTableDescriptors.getTableDescriptorAndModtime(FSTableDescriptors.java:503)
> 	at org.apache.hadoop.hbase.util.FSTableDescriptors.getTableDescriptorAndModtime(FSTableDescriptors.java:496)
> 	at org.apache.hadoop.hbase.util.FSTableDescriptors.get(FSTableDescriptors.java:170)
> 	at org.apache.hadoop.hbase.master.HMaster.getTableDescriptors(HMaster.java:2629)
> 	at org.apache.hadoop.hbase.protobuf.generated.MasterMonitorProtos$MasterMonitorService$2.callBlockingMethod(MasterMonitorProtos.java:4634)
> 	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2156)
> 	at org.apache.hadoop.hbase.ipc.RpcServer$Handler.run(RpcServer.java:1861)
> 2013-08-22 23:11:32,024 WARN  [RpcServer.handler=0,port=60000] org.apache.hadoop.hbase.util.FSTableDescriptors: The following folder is in HBase's root directory and doesn't contain a table descriptor, do consider deleting it: t
> {noformat}
> But the operation completes.

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