HDFS-3243. TestParallelRead timing out on jenkins. Contributed by Henry Robinson.

(svn merge -c 1312029 from trunk)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1348257 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-06-08 21:45:54 +00:00
parent caa6f4ab98
commit 4b531693d3
2 changed files with 3 additions and 1 deletions

View File

@ -178,6 +178,8 @@ Release 2.0.1-alpha - UNRELEASED
HDFS-3514. Add missing TestParallelLocalRead. (Henry Robinson via atm) HDFS-3514. Add missing TestParallelLocalRead. (Henry Robinson via atm)
HDFS-3243. TestParallelRead timing out on jenkins. (Henry Robinson via todd)
BREAKDOWN OF HDFS-3042 SUBTASKS BREAKDOWN OF HDFS-3042 SUBTASKS
HDFS-2185. HDFS portion of ZK-based FailoverController (todd) HDFS-2185. HDFS portion of ZK-based FailoverController (todd)

View File

@ -179,7 +179,7 @@ public int pRead(DFSInputStream dis, byte[] target, int startOff, int len)
*/ */
static class ReadWorker extends Thread { static class ReadWorker extends Thread {
static public final int N_ITERATIONS = 1024 * 4; static public final int N_ITERATIONS = 1024;
private static final double PROPORTION_NON_POSITIONAL_READ = 0.10; private static final double PROPORTION_NON_POSITIONAL_READ = 0.10;