HBase
  1. HBase
  2. HBASE-1989

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 0.20.1, 0.90.1
    • Fix Version/s: None
    • Component/s: Client
    • Labels:
      None

      Description

      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.

      1. hbase1989.patch
        4 kB
        Lars Francke

        Issue Links

          Activity

          Hide
          stack added a comment -

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

          Show
          stack added a comment - I'll take this one. Redoing HCD any ways to go against ZK instead of as a Writable so can change it then.
          Hide
          Lars Francke added a comment -

          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

          Show
          Lars Francke added a comment - 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
          Hide
          stack added a comment -

          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.

          Show
          stack added a comment - 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.
          Hide
          stack added a comment -

          Marking as patch available. Has work started by LarsF.

          Show
          stack added a comment - Marking as patch available. Has work started by LarsF.
          Hide
          stack added a comment -

          Stale

          Show
          stack added a comment - Stale
          Hide
          Doug Meil added a comment -

          Wow, this is from the way-back machine (2009). But I still think it's a good idea from a terminology standpoint to clear this up in the API

          Show
          Doug Meil added a comment - Wow, this is from the way-back machine (2009). But I still think it's a good idea from a terminology standpoint to clear this up in the API
          Hide
          Andrew Purtell added a comment -

          Stale issue. Reopen if still relevant (if there's new activity)

          Show
          Andrew Purtell added a comment - Stale issue. Reopen if still relevant (if there's new activity)

            People

            • Assignee:
              Unassigned
              Reporter:
              Doug Meil
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development