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

Revisit the methods in ReplicationPeerConfigBuilder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1, 2.0.0
    • None
    • None

    Description

      Add 4 methods for ReplicationPeerConfigBuilder:
      putConfiguration
      putAllConfiguration
      putPeerData
      putAllPeerData

      Meanwhile, remove setConfiuration and serPeerData from ReplicationPeerConfigBuilder.
      Because previous ReplicationPeerConfig didn't support setConfiuration and serPeerData. And previous code used getConfiguration.put or putAll to add configuration. So add methods to keep consistent with old usage.

      Attachments

        1. HBASE-19621.master.addendum.patch
          2 kB
          Guanghao Zhang
        2. HBASE-19621.master.002.patch
          11 kB
          Guanghao Zhang
        3. HBASE-19621.master.001.patch
          7 kB
          Guanghao Zhang

        Activity

          People

            zghao Guanghao Zhang
            zghao Guanghao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: