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

2013-09-05 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-9314:
--

Attachment: 9314-0.94.patch

Committed to trunk and 0.96. 

Updated patch for 0.94 that fixes the test failure is attached. Going to commit 
that soon. Ping [~lhofhansl]

 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
Assignee: Andrew Purtell
Priority: Minor
 Fix For: 0.98.0, 0.94.12, 0.96.0

 Attachments: 9314-0.94.patch, 9314-0.94.patch, 9314.patch


 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:6-0] 
 org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Table 't' archived!
 2013-08-22 23:11:31,939 DEBUG 
 [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:6-0] 
 org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Removing 't' 
 descriptor.
 2013-08-22 23:11:31,940 DEBUG 
 [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:6-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:6-0] 
 org.apache.hadoop.hbase.zookeeper.lock.ZKInterProcessLockBase: Released 
 /hbase/table-lock/t/write-master:602
 2013-08-22 23:11:32,024 DEBUG [RpcServer.handler=0,port=6] 
 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=6] 
 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


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

2013-08-30 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-9314:
--

Attachment: 9314-0.94.patch
9314.patch

Testing the attached patches now.

 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
Assignee: Andrew Purtell
Priority: Minor
 Fix For: 0.98.0, 0.94.12, 0.96.0

 Attachments: 9314-0.94.patch, 9314.patch


 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:6-0] 
 org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Table 't' archived!
 2013-08-22 23:11:31,939 DEBUG 
 [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:6-0] 
 org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Removing 't' 
 descriptor.
 2013-08-22 23:11:31,940 DEBUG 
 [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:6-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:6-0] 
 org.apache.hadoop.hbase.zookeeper.lock.ZKInterProcessLockBase: Released 
 /hbase/table-lock/t/write-master:602
 2013-08-22 23:11:32,024 DEBUG [RpcServer.handler=0,port=6] 
 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=6] 
 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


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

2013-08-27 Thread Jean-Daniel Cryans (JIRA)

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

Jean-Daniel Cryans updated HBASE-9314:
--

Affects Version/s: 0.94.10

This also started showing up in 0.94.10, so let's check that list of changes 
between .9 and .10 to see what added more printing.

 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.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:6-0] 
 org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Table 't' archived!
 2013-08-22 23:11:31,939 DEBUG 
 [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:6-0] 
 org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Removing 't' 
 descriptor.
 2013-08-22 23:11:31,940 DEBUG 
 [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:6-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:6-0] 
 org.apache.hadoop.hbase.zookeeper.lock.ZKInterProcessLockBase: Released 
 /hbase/table-lock/t/write-master:602
 2013-08-22 23:11:32,024 DEBUG [RpcServer.handler=0,port=6] 
 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=6] 
 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


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

2013-08-27 Thread Jean-Daniel Cryans (JIRA)

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

Jean-Daniel Cryans updated HBASE-9314:
--

Fix Version/s: 0.94.12

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:6-0] 
 org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Table 't' archived!
 2013-08-22 23:11:31,939 DEBUG 
 [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:6-0] 
 org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Removing 't' 
 descriptor.
 2013-08-22 23:11:31,940 DEBUG 
 [MASTER_TABLE_OPERATIONS-jdec2hbase0403-1:6-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:6-0] 
 org.apache.hadoop.hbase.zookeeper.lock.ZKInterProcessLockBase: Released 
 /hbase/table-lock/t/write-master:602
 2013-08-22 23:11:32,024 DEBUG [RpcServer.handler=0,port=6] 
 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=6] 
 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