File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3131import org .apache .hadoop .hdfs .HdfsConfiguration ;
3232import org .apache .hadoop .hdfs .MiniDFSCluster ;
3333import org .apache .hadoop .hdfs .NameNodeProxies ;
34+ import org .apache .hadoop .hdfs .client .HdfsClientConfigKeys ;
3435import org .apache .hadoop .hdfs .protocol .ClientProtocol ;
3536import org .apache .hadoop .hdfs .protocol .DatanodeID ;
3637import org .apache .hadoop .hdfs .protocol .DatanodeInfo ;
@@ -678,7 +679,7 @@ public void testMaxIterationTime() throws Exception {
678679 4 * 1024 * 1024 );
679680 // set client socket timeout to have an IN_PROGRESS notification back from
680681 // the DataNode about the copy in every second.
681- conf .setLong (DFSConfigKeys .DFS_CLIENT_SOCKET_TIMEOUT_KEY , 2000L );
682+ conf .setLong (HdfsClientConfigKeys .DFS_CLIENT_SOCKET_TIMEOUT_KEY , 2000L );
682683 // set max iteration time to 500 ms to timeout before moving any block
683684 conf .setLong (DFSConfigKeys .DFS_BALANCER_MAX_ITERATION_TIME_KEY , 500L );
684685 // setup the cluster
You can’t perform that action at this time.
0 commit comments