jojochuang commented on a change in pull request #58:
URL: 
https://github.com/apache/hbase-operator-tools/pull/58#discussion_r412302488



##########
File path: hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java
##########
@@ -2450,7 +2450,7 @@ private void checkAndFixTableStates() throws IOException {
     }
   }
 
-  private void preCheckPermission() throws IOException, AccessDeniedException {
+  private void preCheckPermission() throws IOException, AccessControlException 
{

Review comment:
       In printUsageAndExit() which invokes preCheckPermission(), should it 
also update the following catch clause to catch AccessControlException instead?
   `
       } catch (AccessDeniedException ace) {
   `




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


Reply via email to