فهرست منبع

commit 36910abc133cc3216b0b797ae1a33ad35505d8df
Author: Luke Lu <llu@yahoo-inc.com>
Date: Fri Jun 4 10:57:10 2010 -0700

HDFS:1101 from https://issues.apache.org/jira/secure/attachment/12446360/hdfs-1101-y20s-v1.patch

Fix TestDiskError for repeated runs.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077495 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 سال پیش
والد
کامیت
84221da969
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      src/test/org/apache/hadoop/hdfs/server/datanode/TestDiskError.java

+ 1 - 3
src/test/org/apache/hadoop/hdfs/server/datanode/TestDiskError.java

@@ -162,9 +162,7 @@ public class TestDiskError extends TestCase {
     
     
     try {
     try {
       // Start the cluster
       // Start the cluster
-      cluster = 
-        new MiniDFSCluster(0, conf, 1, true,  
-                          true, false,  null, null, null, null);
+      cluster = new MiniDFSCluster(conf, 1, true, null);
       cluster.waitActive();
       cluster.waitActive();
       
       
       // Check permissions on directories in 'dfs.data.dir'
       // Check permissions on directories in 'dfs.data.dir'