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 b2e2abe commit 1d704a7Copy full SHA for 1d704a7
hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/TableReplicationQueueStorage.java
@@ -533,7 +533,7 @@ public Set<String> getAllHFileRefs() throws ReplicationException {
533
@Override
534
public boolean hasData() throws ReplicationException {
535
try {
536
- return conn.getAdmin().getDescriptor(tableName) != null;
+ return conn.getAdmin().tableExists(tableName);
537
} catch (IOException e) {
538
throw new ReplicationException("failed to get replication queue table", e);
539
}
0 commit comments