[
https://issues.apache.org/jira/browse/HBASE-17980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158302#comment-16158302
]
Kuan-Po Tseng commented on HBASE-17980:
---------------------------------------
Hello stack,
Now I make MutableRegionInfo public is because I make nearly all methods inside
HRegionInfo delegate to MutableRegionInfo, so MutableRegion must be public in
this patch.
My thought is let MutableRegionInfo be a private class only for
RegionInfoBuilder to use after HRegionInfo is totally deleted.
Or make MutableRegionInfo private right now and let HRegionInfo remain it used
to be ?
> Any HRegionInfo we give out should be immutable
> -----------------------------------------------
>
> Key: HBASE-17980
> URL: https://issues.apache.org/jira/browse/HBASE-17980
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 2.0.0
> Reporter: Chia-Ping Tsai
> Assignee: Kuan-Po Tseng
> Labels: beginner
> Fix For: 2.0.0
>
> Attachments: HBASE-17980.master.v0.patch, HBASE-17980.master.v1.patch
>
>
> This is similar to HBASE-15583.
> # Introduce RegionInfo class. HRegionInfo will extend RegionInfo.
> # Deprecate HRegionInfo to be removed in 3.0
> # RegionInfo contain all of the read-only methods of HRegionInfo
> # Add "RegionInfo Builder"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)