TestBalancer waits forever, errs without giving information

Key: HDFS-1808
URL: https://issues.apache.org/jira/browse/HDFS-1808
Project: Hadoop HDFS
Issue Type: Bug
Components: data-node, name-node
Affects Versions: 0.22.0
Reporter: Matt Foley
Assignee: Matt Foley

In three locations in the code, TestBalancer waits forever on a condition. Failures result in Hudson/Jenkins "Timeout occurred" error message with no information about where or why. Need to replace with TimeoutExceptions that throw a stack trace and useful info about the failure mode.

In waitForHeartBeat(), it is waiting on an exact match for a value that may be coarsely quantized -- i.e., significant deviation from the exact "expected" result may occur. Replace with an allowed range of result.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouphdfs-dev @
postedApr 5, '11 at 9:41p
activeApr 5, '11 at 9:41p

1 user in discussion

Matt Foley (JIRA): 1 post



site design / logo © 2022 Grokbase