File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ private MetaTableLocator() {
5858 * @return server name or null if we failed to get the data.
5959 */
6060 @ RestrictedApi (explanation = "Should only be called in tests or ZKUtil" , link = "" ,
61- allowedOnPath = ".*/src/test/.*|.*/ZKUtil \\ .java" )
61+ allowedOnPath = ".*/src/test/.*|.*/ZKDump \\ .java" )
6262 public static ServerName getMetaRegionLocation (final ZKWatcher zkw ) {
6363 try {
6464 RegionState state = getMetaRegionState (zkw );
@@ -75,7 +75,7 @@ public static ServerName getMetaRegionLocation(final ZKWatcher zkw) {
7575 * @return server name
7676 */
7777 @ RestrictedApi (explanation = "Should only be called in self or ZKUtil" , link = "" ,
78- allowedOnPath = ".*(MetaTableLocator|ZKUtil )\\ .java" )
78+ allowedOnPath = ".*(MetaTableLocator|ZKDump )\\ .java" )
7979 public static ServerName getMetaRegionLocation (final ZKWatcher zkw , int replicaId ) {
8080 try {
8181 RegionState state = getMetaRegionState (zkw , replicaId );
You can’t perform that action at this time.
0 commit comments