[
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 '
HBaseAdmin.java
{quote}
addColumnFamily(final byte[] tableName, HColumnDescriptor columnFamily)
addColumnFamily(final String tableName, HColumnDescriptor columnFamily)
{quote}
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., family:qualifer).
> Likewise, in Admin there is a method called "addColumn" that takes an
> HColumnDescriptor instance.
> 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
(v6.3.4#6332)