[ 
https://issues.apache.org/jira/browse/HBASE-19621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guanghao Zhang updated HBASE-19621:
-----------------------------------
    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.



  was:
Add 4 methods for ReplicationPeerConfigBuilder:
addConfiguration
addAllConfiguration
addPeerData
addAllPeerData

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.




> Revisit the methods in ReplicationPeerConfigBuilder
> ---------------------------------------------------
>
>                 Key: HBASE-19621
>                 URL: https://issues.apache.org/jira/browse/HBASE-19621
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Minor
>         Attachments: HBASE-19621.master.001.patch, 
> HBASE-19621.master.002.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to