This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 190e434  HDDS-1790. Fix checkstyle issues in TestDataScrubber
190e434 is described below

commit 190e4349d77e7ae0601ff81a70c7569c72833ee3
Author: Nanda kumar <na...@apache.org>
AuthorDate: Fri Jul 12 14:42:29 2019 +0200

    HDDS-1790. Fix checkstyle issues in TestDataScrubber
    
    Closes #1082
---
 .../apache/hadoop/ozone/dn/scrubber/TestDataScrubber.java    | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git 
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/scrubber/TestDataScrubber.java
 
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/scrubber/TestDataScrubber.java
index abed3eb..0f35e50 100644
--- 
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/scrubber/TestDataScrubber.java
+++ 
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/scrubber/TestDataScrubber.java
@@ -154,17 +154,20 @@ public class TestDataScrubber {
     Assert.assertTrue(cs.containerCount() > 0);
 
     // delete the chunks directory.
-    File chunksDir = new File(c.getContainerData().getContainerPath(), 
"chunks");
+    File chunksDir = new File(c.getContainerData().getContainerPath(),
+        "chunks");
     deleteDirectory(chunksDir);
     Assert.assertFalse(chunksDir.exists());
 
-    ContainerScrubber sb = new ContainerScrubber(ozoneConfig, 
oc.getController());
+    ContainerScrubber sb = new ContainerScrubber(ozoneConfig,
+        oc.getController());
     sb.scrub(c);
 
     // wait for the incremental container report to propagate to SCM
     Thread.sleep(5000);
 
-    ContainerManager cm = 
cluster.getStorageContainerManager().getContainerManager();
+    ContainerManager cm = cluster.getStorageContainerManager()
+        .getContainerManager();
     Set<ContainerReplica> replicas = cm.getContainerReplicas(
         ContainerID.valueof(c.getContainerData().getContainerID()));
     Assert.assertEquals(1, replicas.size());
@@ -184,7 +187,8 @@ public class TestDataScrubber {
   }
 
   private boolean verifyRatisReplication(String volumeName, String bucketName,
-                                         String keyName, ReplicationType type, 
ReplicationFactor factor)
+                                         String keyName, ReplicationType type,
+                                         ReplicationFactor factor)
       throws IOException {
     OmKeyArgs keyArgs = new OmKeyArgs.Builder()
         .setVolumeName(volumeName)


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to