You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/09/18 01:42:51 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #2417: HBASE-24896 'Stuck' in static initialization creating RegionInfo instance

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:
users@infra.apache.org