You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Doug Meil (JIRA)" <ji...@apache.org> on 2009/11/18 22:28:39 UTC

[jira] Created: (HBASE-1989) HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage

HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage
--------------------------------------------------------------------

                 Key: HBASE-1989
                 URL: https://issues.apache.org/jira/browse/HBASE-1989
             Project: Hadoop HBase
          Issue Type: Bug
          Components: client
    Affects Versions: 0.20.1
            Reporter: Doug Meil
            Priority: Minor



Consider the classes HBaseAdmin and HColumnDescriptor.

HColumnDescriptor is really referring to a "column family" and not a "column" (i.e., family:qualifer).

Likewise, in HBaseAdmin 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1989) HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833135#action_12833135 ] 

stack commented on HBASE-1989:
------------------------------

This is a start.  Will I commit it as a start in on this issue, as a part 1?  I'm working on the other part over in master rewrite where HColumnDescriptor becomes instead ColumnFamilyDefinition, etc., throughout the code base.

> HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage
> --------------------------------------------------------------------
>
>                 Key: HBASE-1989
>                 URL: https://issues.apache.org/jira/browse/HBASE-1989
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.20.1
>            Reporter: Doug Meil
>            Assignee: stack
>            Priority: Minor
>         Attachments: hbase1989.patch
>
>
> Consider the classes HBaseAdmin and HColumnDescriptor.
> HColumnDescriptor is really referring to a "column family" and not a "column" (i.e., family:qualifer).
> Likewise, in HBaseAdmin 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HBASE-1989) HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack reassigned HBASE-1989:
----------------------------

    Assignee: stack

> HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage
> --------------------------------------------------------------------
>
>                 Key: HBASE-1989
>                 URL: https://issues.apache.org/jira/browse/HBASE-1989
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.20.1
>            Reporter: Doug Meil
>            Assignee: stack
>            Priority: Minor
>
> Consider the classes HBaseAdmin and HColumnDescriptor.
> HColumnDescriptor is really referring to a "column family" and not a "column" (i.e., family:qualifer).
> Likewise, in HBaseAdmin 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1989) HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779831#action_12779831 ] 

stack commented on HBASE-1989:
------------------------------

I'll take this one. Redoing HCD any ways to go against ZK instead of as a Writable so can change it then.

> HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage
> --------------------------------------------------------------------
>
>                 Key: HBASE-1989
>                 URL: https://issues.apache.org/jira/browse/HBASE-1989
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.20.1
>            Reporter: Doug Meil
>            Assignee: stack
>            Priority: Minor
>
> Consider the classes HBaseAdmin and HColumnDescriptor.
> HColumnDescriptor is really referring to a "column family" and not a "column" (i.e., family:qualifer).
> Likewise, in HBaseAdmin 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1989) HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage

Posted by "Lars Francke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Francke updated HBASE-1989:
--------------------------------

    Attachment: hbase1989.patch

I did a small part of this before I found this issue. I only changed HBaseAdmin - this patch deprecates the old methods and changes their usage.

But as I said: This is only a small part of the renaming process but perhaps it is useful anyway

> HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage
> --------------------------------------------------------------------
>
>                 Key: HBASE-1989
>                 URL: https://issues.apache.org/jira/browse/HBASE-1989
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.20.1
>            Reporter: Doug Meil
>            Assignee: stack
>            Priority: Minor
>         Attachments: hbase1989.patch
>
>
> Consider the classes HBaseAdmin and HColumnDescriptor.
> HColumnDescriptor is really referring to a "column family" and not a "column" (i.e., family:qualifer).
> Likewise, in HBaseAdmin 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.