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

Replace HColumnDescriptor(String cf) with ColumnFamilyDescriptor

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We have deprecated HColumnDescriptor and HTableDescriptor some time back in 2.0.0. Although there are many use-cases still using them, we can start replacing them with builder pattern: ColumnFamilyDescriptorBuilder and TableDescriptorBuilder.

      In an attempt to do so, starting with replacing specific constructor of HColumnDescriptor:

      public HTableDescriptor(final TableName name) {
        this(new ModifyableTableDescriptor(name));
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vjasani Viraj Jasani
                Reporter:
                vjasani Viraj Jasani
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: