You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Esteban Gutierrez (Jira)" <ji...@apache.org> on 2019/08/29 16:09:00 UTC
[jira] [Commented] (HBASE-22947) Client Should Prompt For
Additional Confirmation on System Table DDL
[ https://issues.apache.org/jira/browse/HBASE-22947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16918747#comment-16918747 ]
Esteban Gutierrez commented on HBASE-22947:
-------------------------------------------
[~belugabehr], can you please elaborate more on this feature? We strictly disallow to disable the {{hbase:meta}} table:
org.apache.hadoop.hbase.master.procedure.DisableTableProcedure#prepareDisable:
{code}
private boolean prepareDisable(final MasterProcedureEnv env) throws IOException {
boolean canTableBeDisabled = true;
if (tableName.equals(TableName.META_TABLE_NAME)) {
setFailure("master-disable-table", new ConstraintException("Cannot disable catalog table"));
canTableBeDisabled = false;
{code}
Probably we should add {{hbase:namespace}} there too.
> Client Should Prompt For Additional Confirmation on System Table DDL
> --------------------------------------------------------------------
>
> Key: HBASE-22947
> URL: https://issues.apache.org/jira/browse/HBASE-22947
> Project: HBase
> Issue Type: Improvement
> Components: Client
> Affects Versions: 2.1.0, 2.0.0
> Reporter: David Mollitor
> Priority: Minor
>
> If a user is going to perform a DDL/disable operation on a system table, the client should print a warning to the screen warning of the risks and prompt something like "Are you sure?"
--
This message was sent by Atlassian Jira
(v8.3.2#803003)