HBASE-24896 'Stuck' in static initialization creating RegionInfo instance
commit3e13b3f0598c48014bc2737374dce309bcc351da
authorstack <stack@apache.org>
Sun, 20 Sep 2020 08:45:34 +0000 (20 14:15 +0530)
committerViraj Jasani <vjasani@apache.org>
Sun, 20 Sep 2020 08:48:32 +0000 (20 14:18 +0530)
tree803fa0d2d48511bf43336c6f2584f728526f531f
parent0956c34658c8486fea6bf691cef82abb1a82f5f4
HBASE-24896 'Stuck' in static initialization creating RegionInfo instance

Closes #2422

Untangle RegionInfo, RegionInfoBuilder, and MutableRegionInfo static
initializations some. Move MutableRegionInfo from inner-class of
RegionInfoBuilder to be (package private) standalone. Undo static
initializing references from RI to RIB.

Co-authored-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionInfoStaticInitialization.java [new file with mode: 0644]