saintstack commented on a change in pull request #2274:
URL: https://github.com/apache/hbase/pull/2274#discussion_r472543730
##########
File path:
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
##########
@@ -69,7 +65,14 @@
*/
@InterfaceAudience.Public
public interface RegionInfo extends Comparable<RegionInfo> {
- RegionInfo UNDEFINED =
RegionInfoBuilder.newBuilder(TableName.valueOf("__UNDEFINED__")).build();
+ /**
+ * Do not use.
+ * @deprecated Since 2.3.1; to be removed in 4.0.0 with no replacement.
+ */
+ // Removed because creation was creating a static deadlock, HBASE-24896
+ @Deprecated
+ RegionInfo UNDEFINED = null;
Review comment:
I'd glanced in passing but there are ~100 refs to old location. Let me
try it... make sure we are not just moving this problem. Would be better I
agree if it worked and we could avoid this deprecation. @bharathv
----------------------------------------------------------------
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]