Apache9 commented on a change in pull request #2417:
URL: https://github.com/apache/hbase/pull/2417#discussion_r490652558



##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
##########
@@ -71,7 +71,9 @@
    */
   @Deprecated
   @InterfaceAudience.Private
-  RegionInfo UNDEFINED = 
RegionInfoBuilder.newBuilder(TableName.valueOf("__UNDEFINED__")).build();
+  // Not using RegionInfoBuilder intentionally to avoid a static loading 
deadlock: HBASE-24627
+  RegionInfo UNDEFINED = new MutableRegionInfo(0, 
TableName.valueOf("__UNDEFINED__"),

Review comment:
       I think we'd better move this field to RegionInfoBuilder. Anyway, this 
one has to be kept to meet our compatibility rule.  Can be a separated issue.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to