[jira] [Updated] (HBASE-5894) Delete table failed but HBaseAdmin#deletetable report it as success

2012-04-28 Thread xufeng (JIRA)

 [ 
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] [Updated] (HBASE-5894) Delete table failed but HBaseAdmin#deletetable report it as success

2012-05-02 Thread xufeng (JIRA)

 [ 
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] [Updated] (HBASE-5894) Delete table failed but HBaseAdmin#deletetable report it as success

2012-05-03 Thread Zhihong Yu (JIRA)

 [ 
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] [Updated] (HBASE-5894) Delete table failed but HBaseAdmin#deletetable report it as success

2012-05-05 Thread xufeng (JIRA)

 [ 
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

2012-05-05 Thread xufeng (JIRA)

 [ 
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