hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3118) HBaseAdmin.createTable and modifyTable should have a family check
Date Mon, 18 Oct 2010 20:18:22 GMT

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

Jonathan Gray commented on HBASE-3118:
--------------------------------------

@Kannan, Yeah HBASE-2984 is currently a blocker against 0.90 to do just that

> HBaseAdmin.createTable and modifyTable should have a family check
> -----------------------------------------------------------------
>
>                 Key: HBASE-3118
>                 URL: https://issues.apache.org/jira/browse/HBASE-3118
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.20.6
>         Environment: 0.20.6, Linux, Java 1.6+
>            Reporter: Vaibhav Puranik
>
> Currently HBaseAdmin.modifyTable does not check whether any family is supplied or not.
I can execute this method without supplying any families and that puts the table in inconsistent
state.
> In my opinion, modifyTable should let you modifyTable without overwriting. But looks
like it doesn't do that. This can be very dangerous as you can end up overwriting a table
in production and loose data. But if we are going to keep the behavior then at least some
checks should be added to make it safer.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message