Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9314

Dropping a table always prints a TableInfoMissingException in the master log

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.95.2, 0.94.10
    • Fix Version/s: 0.98.0, 0.94.12, 0.96.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Everytime I drop a table I get the same stack trace in the master's log:

      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
      

      But the operation completes.

        Attachments

        1. 9314.patch
          2 kB
          Andrew Kyle Purtell
        2. 9314-0.94.patch
          2 kB
          Andrew Kyle Purtell
        3. 9314-0.94.patch
          4 kB
          Andrew Kyle Purtell

          Activity

            People

            • Assignee:
              apurtell Andrew Kyle Purtell
              Reporter:
              jdcryans Jean-Daniel Cryans
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: