NihalJain commented on code in PR #6842:
URL: https://github.com/apache/hbase/pull/6842#discussion_r2008646306
##########
hbase-common/src/main/java/org/apache/hadoop/hbase/TableName.java:
##########
@@ -301,6 +301,10 @@ private TableName(ByteBuffer namespace, ByteBuffer
qualifier) throws IllegalArgu
this.namespace = NamespaceDescriptor.SYSTEM_NAMESPACE_NAME;
this.namespaceAsString = NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR;
this.systemTable = true;
+ } else if (Bytes.equals(NamespaceDescriptor.BACKUP_NAMESPACE_NAME,
namespace)) {
+ this.namespace = NamespaceDescriptor.BACKUP_NAMESPACE_NAME;
Review Comment:
What if user has configured a custom table name as in
https://github.com/apache/hbase/blob/master/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.java#L1194
?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]