[
https://issues.apache.org/jira/browse/HBASE-17980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16163312#comment-16163312
]
Kuan-Po Tseng commented on HBASE-17980:
---------------------------------------
v2
- Rename UnmodifyableHRegionInfo.java to ImmutableHRegionInfo.java
- make ImmutableHRegionInfo IA.private
- make MutableRegionInfo private
- move all static methods inside MutableRI under RegionInfoBuilder
- deprecated all static methods and toByteArray() and toDelimitedByteArray() in
HRegionInfo, deprecated HRegionInfo.
- Deprecated Admin getOnlineRegions(ServerName) and getTableRegions(TableName),
add getRegions(ServerName) getRegions(TableName)
- Add TestRegionInfoBuilder which copy all tests from HRegionInfo.
> 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, HBASE-17980-master.v2.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)