q977734161 commented on a change in pull request #272: [HBASE-22453] A
NullPointerException could be thrown
URL: https://github.com/apache/hbase/pull/272#discussion_r289059676
##########
File path:
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/util/RestoreTool.java
##########
@@ -169,6 +169,9 @@ public void incrementalRestoreTable(Connection conn, Path
tableBackupPath, Path[
for (int i = 0; i < tableNames.length; i++) {
TableName tableName = tableNames[i];
TableDescriptor tableDescriptor = getTableDescriptor(fileSys,
tableName, incrBackupId);
+ if (tableDescriptor == null) {
+ throw new IOException("Can't found " + tableName + "'s descriptor ");
Review comment:
Oh,yes,some problems with grammar,I will modify it right away.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services