You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "xufeng (JIRA)" <ji...@apache.org> on 2012/04/28 10:03:45 UTC
[jira] [Created] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
xufeng created HBASE-5894:
-----------------------------
Summary: Delete table failed but HBaseAdmin#deletetable report 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
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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269017#comment-13269017 ]
Hadoop QA commented on HBASE-5894:
----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12525741/HBASE-5894_94_patch_v2.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1781//console
This message is automatically generated.
> Delete table failed but HBaseAdmin#deletetable report 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
> 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
[jira] [Updated] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xufeng updated HBASE-5894:
--------------------------
Attachment: HBASE-5894_trunk_patch_v3.patch
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
[jira] [Updated] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xufeng updated HBASE-5894:
--------------------------
Attachment: HBASE-5894_trunk_patch_v1_surefire-report.html
HBASE-5894_trunk_patch_v1.patch
Patch for trunk and verified in real cluster.
I will submit the patch for 90,92 and 94 after verified in real cluster and done the unit test.
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_trunk_patch_v1.patch, HBASE-5894_trunk_patch_v1_surefire-report.html
>
>
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264250#comment-13264250 ]
xufeng commented on HBASE-5894:
-------------------------------
I review the code and ensure that all versions have this problem.
> Delete table failed but HBaseAdmin#deletetable report 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
>
> 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
[jira] [Updated] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihong Yu updated HBASE-5894:
------------------------------
Summary: Table deletion failed but HBaseAdmin#deletetable reports it as success (was: Delete table failed but HBaseAdmin#deletetable report it as success)
> 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
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264279#comment-13264279 ]
xufeng commented on HBASE-5894:
-------------------------------
Please review the patch and give me some suggestion,thanks.
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_trunk_patch_v1.patch, HBASE-5894_trunk_patch_v1_surefire-report.html
>
>
> 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
[jira] [Commented] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279412#comment-13279412 ]
Hudson commented on HBASE-5894:
-------------------------------
Integrated in HBase-0.94-security #27 (See [https://builds.apache.org/job/HBase-0.94-security/27/])
HBASE-5894 Table deletion failed but HBaseAdmin#deletetable reports it as success (Xufeng) (Revision 1334475)
Result = SUCCESS
tedyu :
Files :
* /hbase/branches/0.94/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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264339#comment-13264339 ]
xufeng commented on HBASE-5894:
-------------------------------
@Ted
The for loop in HBaseAdmin#deleteTable() cost too long time.
In fact When I verified this patch,My client code spent 50 min until return.
In test,If one test cost more than 900s(the value of forkedProcessTimeoutInSeconds defined in pom.xml)
then this test will be killed and the others also will not run,is it?
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_trunk_patch_v1.patch, HBASE-5894_trunk_patch_v1_surefire-report.html
>
>
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268975#comment-13268975 ]
Zhihong Yu commented on HBASE-5894:
-----------------------------------
I got the following when trying to apply the patch:
{code}
Patching file src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java using Plan A...
Hunk #1 failed at 511.
Hunk #2 failed at 543.
Hunk #3 failed at 578.
3 out of 3 hunks failed--saving rejects to src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java.rej
{code}
Maybe due to the ^M's in the patch ?
{code}
}^M
}^M
{code}
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
>
>
> 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
[jira] [Commented] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269108#comment-13269108 ]
xufeng commented on HBASE-5894:
-------------------------------
Ted and Stack
Thanks for your help.
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264343#comment-13264343 ]
Zhihong Yu commented on HBASE-5894:
-----------------------------------
You can use the following annotation to limit the duration for a particular test:
{code}
@Test(timeout = 120000)
{code}
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_trunk_patch_v1.patch, HBASE-5894_trunk_patch_v1_surefire-report.html
>
>
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266545#comment-13266545 ]
xufeng commented on HBASE-5894:
-------------------------------
@Ted
>>If a test can be added to verify the fix, that would be nice.
In fact,I found this issue in TestLogRolling in 90 version.
One day the test be killed,I tracked it and found that it timeout in deleteTable() becauseof the dfs problem.
I think that it is hard to add the new test to verify the fix,because it will cost long time, the test will be killed or timeout(if we add @Test(timeout = 120000)).
Maybe I am wrong,Can you suggest to me?
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
>
>
> 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
[jira] [Commented] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269061#comment-13269061 ]
Hudson commented on HBASE-5894:
-------------------------------
Integrated in HBase-0.94 #183 (See [https://builds.apache.org/job/HBase-0.94/183/])
HBASE-5894 Table deletion failed but HBaseAdmin#deletetable reports it as success (Xufeng) (Revision 1334475)
Result = FAILURE
tedyu :
Files :
* /hbase/branches/0.94/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
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268988#comment-13268988 ]
Zhihong Yu commented on HBASE-5894:
-----------------------------------
HBASE-5894_trunk_patch_v2.patch
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
>
>
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268987#comment-13268987 ]
xufeng commented on HBASE-5894:
-------------------------------
@Ted
Which patch has this problem?
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
>
>
> 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
[jira] [Commented] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269047#comment-13269047 ]
Zhihong Yu commented on HBASE-5894:
-----------------------------------
Integrated to 0.90, 0.92 and 0.94 branches.
Thanks for the patch Xufeng.
Thanks for the review Stack.
> 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
> 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
[jira] [Updated] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihong Yu updated HBASE-5894:
------------------------------
Fix Version/s: 0.94.1
0.96.0
0.92.2
0.90.7
> 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
[jira] [Updated] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xufeng updated HBASE-5894:
--------------------------
Attachment: HBASE-5894_94_patch_v2.patch
HBASE-5894_90_patch_v2.patch
HBASE-5894_92_patch_v2.patch
@Ted
I also updated the others.
Maybe the patch created by eclipse has this problem.
Now I create the patch by TortoiseSVN.
> Delete table failed but HBaseAdmin#deletetable report 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
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269009#comment-13269009 ]
xufeng commented on HBASE-5894:
-------------------------------
@Ted
I updated the trunk patch,can you apply this patch now?
if ok,I will check the others and update them.
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
[jira] [Updated] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xufeng updated HBASE-5894:
--------------------------
Attachment: HBASE-5894_trunk_patch_v2_surefire-report.html
HBASE-5894_94_patch_v1_surefire-report.html
HBASE-5894_92_patch_v1_surefire-report.html
HBASE-5894_90_patch_v1_surefire-report.html
HBASE-5894_trunk_patch_v2.patch
HBASE-5894_94_patch_v1.patch
HBASE-5894_92_patch_v1.patch
HBASE-5894_90_patch_v1.patch
@Ted
I have updated the trunk patch and created patch of the other versions,please review,thanks.
All patch verified in real cluster by my reproduce steps.
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
>
>
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "xufeng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267993#comment-13267993 ]
xufeng commented on HBASE-5894:
-------------------------------
Hi
Anyone can review it and give me some suggestion?
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
>
>
> 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
[jira] [Commented] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269043#comment-13269043 ]
Hudson commented on HBASE-5894:
-------------------------------
Integrated in HBase-TRUNK #2852 (See [https://builds.apache.org/job/HBase-TRUNK/2852/])
HBASE-5894 Table deletion failed but HBaseAdmin#deletetable reports it as success (Xufeng) (Revision 1334464)
Result = SUCCESS
tedyu :
Files :
* /hbase/trunk/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
> 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
[jira] [Commented] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269072#comment-13269072 ]
Hudson commented on HBASE-5894:
-------------------------------
Integrated in HBase-0.92 #399 (See [https://builds.apache.org/job/HBase-0.92/399/])
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
> 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
[jira] [Closed] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Lars Hofhansl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl closed HBASE-5894.
--------------------------------
> 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.94.1, 0.96.0
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269019#comment-13269019 ]
Hadoop QA commented on HBASE-5894:
----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12525738/HBASE-5894_trunk_patch_v3.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 hadoop23. The patch compiles against the hadoop 0.23.x profile.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these unit tests:
org.apache.hadoop.hbase.regionserver.TestServerCustomProtocol
org.apache.hadoop.hbase.master.TestSplitLogManager
Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/1780//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/1780//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1780//console
This message is automatically generated.
> Delete table failed but HBaseAdmin#deletetable report 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
> 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
[jira] [Updated] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihong Yu updated HBASE-5894:
------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264290#comment-13264290 ]
Zhihong Yu commented on HBASE-5894:
-----------------------------------
{code}
+ throw new RegionException("Retries exhausted, it took too long to wait"+
{code}
I think IOException should be thrown above.
If a test can be added to verify the fix, that would be nice.
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_trunk_patch_v1.patch, HBASE-5894_trunk_patch_v1_surefire-report.html
>
>
> 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
[jira] [Updated] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihong Yu updated HBASE-5894:
------------------------------
Hadoop Flags: Reviewed
Status: Patch Available (was: Open)
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
>
>
> 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
[jira] [Commented] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269136#comment-13269136 ]
Hudson commented on HBASE-5894:
-------------------------------
Integrated in HBase-TRUNK-security #193 (See [https://builds.apache.org/job/HBase-TRUNK-security/193/])
HBASE-5894 Table deletion failed but HBaseAdmin#deletetable reports it as success (Xufeng) (Revision 1334464)
Result = FAILURE
tedyu :
Files :
* /hbase/trunk/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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268431#comment-13268431 ]
stack commented on HBASE-5894:
------------------------------
+1 on patch
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
>
>
> 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
[jira] [Commented] (HBASE-5894) Delete table failed but
HBaseAdmin#deletetable report it as success
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268062#comment-13268062 ]
Hadoop QA commented on HBASE-5894:
----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12525286/HBASE-5894_trunk_patch_v2.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 hadoop23. The patch compiles against the hadoop 0.23.x profile.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed unit tests in .
Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/1759//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/1759//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1759//console
This message is automatically generated.
> Delete table failed but HBaseAdmin#deletetable report 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
> Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, 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
>
>
> 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
[jira] [Commented] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269028#comment-13269028 ]
Zhihong Yu commented on HBASE-5894:
-----------------------------------
I tried the two failed tests and they passed with patch v3.
Integrated to trunk first.
> 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
> 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
[jira] [Commented] (HBASE-5894) Table deletion failed but
HBaseAdmin#deletetable reports it as success
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ 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