hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-1989) Admin (et al.) not accurate with Column vs. Column-Family usage
Date Wed, 06 May 2015 09:00:00 GMT

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

Anoop Sam John commented on HBASE-1989:

bq.void deleteColumnFamily(final TableName tableName, final byte[] columnName) throws IOException
Can you make the param name as 'columnFamily '

addColumnFamily(final byte[] tableName, HColumnDescriptor columnFamily)
addColumnFamily(final String tableName, HColumnDescriptor columnFamily)
May be no need to add newly. Just deprecate its counterparts with replacement as 
addColumnFamily(final TableName tableName, final HColumnDescriptor columnFamily)
Same case applicable for delete/modify

> Admin (et al.) not accurate with Column vs. Column-Family usage
> ---------------------------------------------------------------
>                 Key: HBASE-1989
>                 URL: https://issues.apache.org/jira/browse/HBASE-1989
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.20.1, 0.90.1
>            Reporter: Doug Meil
>            Assignee: Lars Francke
>            Priority: Minor
>         Attachments: HBASE-1989.patch, hbase1989.patch
> Consider the classes Admin and HColumnDescriptor.
> HColumnDescriptor is really referring to a "column family" and not a "column" (i.e.,
> Likewise, in Admin there is a method called "addColumn" that takes an HColumnDescriptor
> I labeled this a bug in the sense that it produces conceptual confusion because there
is a big difference between a column and column-family in HBase and these terms should be
used consistently.  The code works, though.

This message was sent by Atlassian JIRA

View raw message