hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-3118) HBaseAdmin.createTable and modifyTable should have a family check
Date Sat, 19 Jul 2014 00:20:39 GMT

     [ https://issues.apache.org/jira/browse/HBASE-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andrew Purtell resolved HBASE-3118.

    Resolution: Fixed

We sanity check descriptors passed in for admin actions now.

> 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
> 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 was sent by Atlassian JIRA

View raw message