apurtell commented on a change in pull request #1879:
URL: https://github.com/apache/hbase/pull/1879#discussion_r437788463



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperMainServer.java
##########
@@ -66,8 +66,14 @@ public HACK_UNTIL_ZOOKEEPER_1897_ZooKeeperMain(String[] args)
      * @throws IOException
      * @throws InterruptedException
      */
-    void runCmdLine() throws KeeperException, IOException, 
InterruptedException {
-      processCmd(this.cl);
+    void runCmdLine() throws IOException, InterruptedException {
+      try {
+        processCmd(this.cl);
+      } catch (IOException | InterruptedException e) {
+        throw e;
+      } catch (Exception e) {

Review comment:
       [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) 
on project hbase-server: Compilation failure
   [ERROR] 
/Users/apurtell/src/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperMainServer.java:[70,17]
 unreported exception org.apache.zookeeper.cli.CliException; must be caught or 
declared to be thrown




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


Reply via email to