Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2471

Accumulo.waitForZookeeperAndHdfs eats ZK InterruptedException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bhavanki Bill Havanki
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: