HBase
  1. HBase
  2. HBASE-1989

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.1, 0.90.1
    • Fix Version/s: 2.0.0
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          Doug Meil created issue -
          stack made changes -
          Field Original Value New Value
          Assignee stack [ stack ]
          Lars Francke made changes -
          Attachment hbase1989.patch [ 12435703 ]
          Lars Francke made changes -
          Link This issue relates to HBASE-2704 [ HBASE-2704 ]
          stack made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.90.1 [ 12315548 ]
          stack made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Andrew Purtell made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee stack [ stack ]
          Resolution Won't Fix [ 2 ]
          Lars Francke made changes -
          Summary HBaseAdmin (et al.) not accurate with Column vs. Column-Family usage Admin (et al.) not accurate with Column vs. Column-Family usage
          Lars Francke made changes -
          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.
           

          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.
           

          Lars Francke made changes -
          Resolution Won't Fix [ 2 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Lars Francke [ lars_francke ]
          Lars Francke made changes -
          Attachment HBASE-1989.patch [ 12730594 ]
          Lars Francke made changes -
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          Lars Francke made changes -
          Attachment HBASE-1989-v1.patch [ 12730830 ]
          Lars Francke made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Lars Francke made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Lars Francke made changes -
          Link This issue relates to HBASE-13645 [ HBASE-13645 ]
          stack made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 2.0.0 [ 12327188 ]
          Resolution Fixed [ 1 ]
          Sean Busbey made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          stack made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Lars Francke
              Reporter:
              Doug Meil
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development