accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-2471) Accumulo.waitForZookeeperAndHdfs eats ZK InterruptedException
Date Thu, 13 Mar 2014 20:33:43 GMT
Bill Havanki created ACCUMULO-2471:

             Summary: Accumulo.waitForZookeeperAndHdfs eats ZK InterruptedException
                 Key: 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

View raw message