hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5894) Table deletion failed but HBaseAdmin#deletetable reports it as success
Date Fri, 18 May 2012 02:36:12 GMT

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

Hudson commented on HBASE-5894:
-------------------------------

Integrated in HBase-0.92-security #107 (See [https://builds.apache.org/job/HBase-0.92-security/107/])
    HBASE-5894  Table deletion failed but HBaseAdmin#deletetable reports it as success (Xufeng)
(Revision 1334476)

     Result = FAILURE
tedyu : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java

                
> Table deletion failed but HBaseAdmin#deletetable reports it as success
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5894
>                 URL: https://issues.apache.org/jira/browse/HBASE-5894
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.7, 0.92.2, 0.94.0
>         Environment: all versions
>            Reporter: xufeng
>            Assignee: xufeng
>            Priority: Minor
>             Fix For: 0.90.7, 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html,
HBASE-5894_90_patch_v2.patch, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html,
HBASE-5894_92_patch_v2.patch, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html,
HBASE-5894_94_patch_v2.patch, HBASE-5894_trunk_patch_v1.patch, HBASE-5894_trunk_patch_v1_surefire-report.html,
HBASE-5894_trunk_patch_v2.patch, HBASE-5894_trunk_patch_v2_surefire-report.html, HBASE-5894_trunk_patch_v3.patch
>
>
> Reproduce this issue by following steps:
> For reproduce it I add this code in DeleteTableHandler#handleTableOperation():
> {noformat}
>       LOG.debug("Deleting region " + region.getRegionNameAsString() +
>         " from META and FS");
> 	  +if (true) {
> 	  +  throw new IOException("ERROR");
> 	  +}
>       // Remove region from META
>       MetaEditor.deleteRegion(this.server.getCatalogTracker(), region);
> {noformat}
> step1:create a table and disable it.
> step2:delete it by HBaseAdmin#deleteTable() API.
> result:after lone time, The log say the Table has been deleted, but in fact if we do
"list" in shell,the table also exists.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message