Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1989

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20.1, 0.90.1
    • 2.0.0
    • Client
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HBASE-1989-v1.patch
          38 kB
          Lars Francke
        2. HBASE-1989.patch
          38 kB
          Lars Francke
        3. hbase1989.patch
          4 kB
          Lars Francke

        Issue Links

          Activity

            People

              larsfrancke Lars Francke
              dmeil Doug Meil
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: