You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Bill Havanki (JIRA)" <ji...@apache.org> on 2014/03/13 21:33:43 UTC

[jira] [Created] (ACCUMULO-2471) Accumulo.waitForZookeeperAndHdfs eats ZK InterruptedException

Bill Havanki created ACCUMULO-2471:
--------------------------------------

             Summary: Accumulo.waitForZookeeperAndHdfs eats ZK InterruptedException
                 Key: ACCUMULO-2471
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2471
             Project: Accumulo
          Issue Type: Improvement
            Reporter: Bill Havanki
            Priority: Minor


The {{Accumulo.waitForZookeeperAndHdfs}} method ensures that ZooKeeper and HDFS are available. For ZK, it does a {{getChildren()}} call on a root node. This call can throw {{InterruptedException}}, which the method currently throws away.

The method should instead propagate the exception to its caller, {{Accumulo.init()}}, which in turn can propagate it to the main methods of the various daemons. Those daemons should exit upon catching the exception (see Tom White, _Hadoop: The Definitive Guide, Third Edition_, p. 516).



--
This message was sent by Atlassian JIRA
(v6.2#6252)