Repository: hadoop
Updated Branches:
  refs/heads/branch-2 34f9ceab4 -> 8b01d5cbb


HDFS-11378. Addendum to fix branch-2 compilation. Verify multiple DataNodes can 
be decommissioned/maintenance at the same time. (Manoj Govindassamy via kasha)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8b01d5cb
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8b01d5cb
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8b01d5cb

Branch: refs/heads/branch-2
Commit: 8b01d5cbbac277e0330bc4a4169864f7e0f53fa7
Parents: 34f9cea
Author: Karthik Kambatla <[email protected]>
Authored: Sun Jan 29 11:18:54 2017 -0800
Committer: Karthik Kambatla <[email protected]>
Committed: Sun Jan 29 11:18:54 2017 -0800

----------------------------------------------------------------------
 .../src/test/java/org/apache/hadoop/hdfs/TestDecommission.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8b01d5cb/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommission.java
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommission.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommission.java
index bdd39d2..5551782 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommission.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommission.java
@@ -1120,10 +1120,10 @@ public class TestDecommission extends 
AdminStatesBaseTest {
     final FileSystem fileSys = getCluster().getFileSystem(0);
     final FSNamesystem ns = getCluster().getNamesystem(0);
 
-    int repl = 3;
+    final int repl = 3;
     writeFile(fileSys, file, repl, 1);
     // Request Decommission for DataNodes 1 and 2.
-    List<DatanodeInfo> decomDataNodes = takeNodeOutofService(0,
+    final List<DatanodeInfo> decomDataNodes = takeNodeOutofService(0,
         
Lists.newArrayList(getCluster().getDataNodes().get(0).getDatanodeUuid(),
             getCluster().getDataNodes().get(1).getDatanodeUuid()),
         Long.MAX_VALUE, null, null, AdminStates.DECOMMISSIONED);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to