Просмотр исходного кода

HDFS-9383. TestByteArrayManager#testByteArrayManager fails. Contributed by Tsz Wo Nicholas Sze.
(cherry picked from commit ef926b2e3824475581454c1e17a0d7c94529efde)

Kihwal Lee 9 лет назад
Родитель
Сommit
ceb062f093

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/util/TestByteArrayManager.java

@@ -308,7 +308,7 @@ public class TestByteArrayManager {
   public void testByteArrayManager() throws Exception {
     final int countThreshold = 32;
     final int countLimit = 64;
-    final long countResetTimePeriodMs = 1000L;
+    final long countResetTimePeriodMs = 10000L;
     final ByteArrayManager.Impl bam = new ByteArrayManager.Impl(
         new ByteArrayManager.Conf(
             countThreshold, countLimit, countResetTimePeriodMs));

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -1443,6 +1443,9 @@ Release 2.7.3 - UNRELEASED
     HDFS-4937. ReplicationMonitor can infinite-loop in 
     BlockPlacementPolicyDefault#chooseRandom(). (kihwal)
 
+    HDFS-9383. TestByteArrayManager#testByteArrayManager fails.
+    (szetszwo via kihwal)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES