[
https://issues.apache.org/jira/browse/HBASE-5041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175264#comment-13175264
]
Shrijeet Paliwal commented on HBASE-5041:
-----------------------------------------
@Ted, will add a unit test and upload a new one on top of trunk.
@Ram, thanks for commenting. Do you mean to say isRegionName should throw an
exception? I wanted to keep the semantic same as before - it tells weather the
name argument 'appears' to be a region name or not. When MetaReader.getRegion
returns null we know one thing for sure, it is not a region. Determining if its
a valid table is left to caller, depending on need.
Did you mean something else?
> Major compaction on non existing table does not throw error
> ------------------------------------------------------------
>
> Key: HBASE-5041
> URL: https://issues.apache.org/jira/browse/HBASE-5041
> Project: HBase
> Issue Type: Bug
> Components: regionserver, shell
> Affects Versions: 0.90.3
> Reporter: Shrijeet Paliwal
> Assignee: Shrijeet Paliwal
> Fix For: 0.92.0, 0.94.0, 0.90.6
>
> Attachments: 0001-HBASE-5041-Throw-error-if-table-does-not-exist.patch
>
>
> Following will not complain even if fubar does not exist
> {code}
> echo "major_compact 'fubar'" | $HBASE_HOME/bin/hbase shell
> {code}
> The downside for this defect is that major compaction may be skipped due to
> a typo by Ops.
--
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