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

HColumnDescriptor setters should return void

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      See discussion on dev@ mailing list, entitled 'Does compatibility between versions also mean binary compatibility?'

      Synopsis from that thread:

      HBASE-5357 "Use builder pattern in HColumnDescriptor" changed the
      method signatures by changing "void" to "HColumnDescriptor" so it' not
      the same methods anymore.

      if you invoke setters
      on HColumnDescriptor as you'll get:

      java.lang.NoSuchMethodError:
      org.apache.hadoop.hbase.HColumnDescriptor.setMaxVersions(I)V

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: