HBase
  1. HBase
  2. HBASE-8273

HColumnDescriptor setters should return void

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

        Activity

        Ted Yu created issue -
        stack made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.7 [ 12324039 ]
        Lars Hofhansl made changes -
        Resolution Invalid [ 6 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        stack made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development