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

 ##########
 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:
   Why create the table directories here ?   I guess the TruncateTableProcedure 
will create the dir ? 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to