mymeiyi commented on a change in pull request #440: HBASE-22776 Rename config 
names in user scan snapshot feature
URL: https://github.com/apache/hbase/pull/440#discussion_r310979339
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SnapshotScannerHDFSAclController.java
 ##########
 @@ -213,6 +213,7 @@ public void 
postCompletedSnapshotAction(ObserverContext<MasterCoprocessorEnviron
   public void 
postCompletedTruncateTableAction(ObserverContext<MasterCoprocessorEnvironment> 
c,
       TableName tableName) throws IOException {
     if (needHandleTableHdfsAcl(tableName, "truncateTable " + tableName)) {
+      hdfsAclHelper.createTableDirectories(tableName);
 
 Review comment:
   The tmp table dir is deleted after truncate table, so recreate this 
directory.

----------------------------------------------------------------
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

Reply via email to