From 68aa2ccd89254ed9a2e3baf6a2d2c4fa0c865541 Mon Sep 17 00:00:00 2001 From: Bharat Viswanadham Date: Sat, 9 Mar 2019 21:50:46 -0800 Subject: [PATCH] HDDS-1240. Fix check style issues caused by HDDS-1196. --- .../src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java | 3 --- .../org/apache/hadoop/hdds/scm/block/BlockManagerImpl.java | 2 -- .../test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java | 1 - 3 files changed, 6 deletions(-) diff --git a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java index 5df4b026491..3dd28f6f0aa 100644 --- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java +++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java @@ -17,9 +17,6 @@ package org.apache.hadoop.hdds; import org.apache.hadoop.utils.db.DBProfile; -import org.apache.ratis.util.TimeDuration; - -import java.util.concurrent.TimeUnit; /** * This class contains constants for configuration keys and default values diff --git a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/BlockManagerImpl.java b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/BlockManagerImpl.java index 35ddf18aeb3..8aedfe406bb 100644 --- a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/BlockManagerImpl.java +++ b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/BlockManagerImpl.java @@ -45,8 +45,6 @@ import org.apache.hadoop.hdds.scm.pipeline.Pipeline; import org.apache.hadoop.hdds.scm.pipeline.PipelineManager; import org.apache.hadoop.hdds.scm.pipeline.PipelineNotFoundException; import org.apache.hadoop.hdds.scm.server.StorageContainerManager; -import org.apache.hadoop.hdds.server.events.EventHandler; -import org.apache.hadoop.hdds.server.events.EventPublisher; import org.apache.hadoop.metrics2.util.MBeans; import org.apache.hadoop.util.StringUtils; import org.slf4j.Logger; diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java index fbac88256dc..0f8ac084323 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java +++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java @@ -57,7 +57,6 @@ import org.junit.Test; import org.junit.rules.Timeout; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import sun.rmi.runtime.Log; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue;