We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bffae99 commit 39b496eCopy full SHA for 39b496e
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Connection.java
@@ -180,8 +180,13 @@ default BufferedMutator getBufferedMutator(TableName tableName) throws IOExcepti
180
*/
181
AsyncConnection toAsyncConnection();
182
183
- /** Returns the cluster ID unique to this HBase cluster. */
184
- String getClusterId();
+ /**
+ * Returns the cluster ID unique to this HBase cluster. <br>
185
+ * The default implementation is added to keep client compatibility.
186
+ */
187
+ default String getClusterId() {
188
+ return null;
189
+ }
190
191
/**
192
* Retrieve an Hbck implementation to fix an HBase cluster. The returned Hbck is not guaranteed to
0 commit comments