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

Make RSGroupInfo immutable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      HBASE-19483 added CP hooks to expose RSGroupInfo.
      First, we should at least change [hbase-client] RSGroupInfo to immutable + builder pattern like we have done for so many other things.
      What say Apache9

      Then, few questions need figuring out:

      • Should hooks be allowed to change RSGroupInfo.
        Probably not? Then making it immutable would be necessary and sufficient
      • Can we remove {{if(((MasterEnvironment)getEnvironment()).supportGroupCPs) }} in so many places since CP in 2.0 are already broken left and right (and we'll have to solve legacy issue more holistically) What say anoop.hbase?

      Attachments

        Activity

          People

            Unassigned Unassigned
            appy Apekshit Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: