Skip to content

Commit 2be3958

Browse files
committed
HBASE-26474 Implement connection-level attributes (addendum)
Addressing additional comments raised in branch-2 backport PR #4014
1 parent 625d610 commit 2be3958

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRpcBasedConnectionRegistry.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,6 @@ public CompletableFuture<ServerName> getActiveMaster() {
271271
getClass().getSimpleName() + ".getClusterId");
272272
}
273273

274-
@Override
275-
public String getConnectionString() {
276-
return "unimplemented";
277-
}
278-
279274
@Override
280275
public void close() {
281276
trace(() -> {

hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestRpcBasedRegistryHedgedReads.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ protected Set<ServerName> getBootstrapNodes(Configuration conf) throws IOExcepti
167167
protected CompletableFuture<Set<ServerName>> fetchEndpoints() {
168168
return CompletableFuture.completedFuture(BOOTSTRAP_NODES);
169169
}
170+
171+
@Override public String getConnectionString() {
172+
return "unimplemented";
173+
}
170174
};
171175
}
172176

0 commit comments

Comments
 (0)