diff options
author | Drill Dev <dev@drill.apache.org> | 2018-05-08 13:57:37 -0700 |
---|---|---|
committer | Boaz Ben-Zvi <boaz@mapr.com> | 2018-05-10 12:24:26 -0700 |
commit | 8a1a7c53fb211dcba6e7b2f2ce90c28af4b9c518 (patch) | |
tree | 480865c033abf0f418e562761099d963851fbefa /drill-yarn | |
parent | 9e8f31fb6adb4cc979c659214332ef37870d4ce0 (diff) |
DRILL-6386: Remove unused imports and star imports.
Diffstat (limited to 'drill-yarn')
5 files changed, 12 insertions, 9 deletions
diff --git a/drill-yarn/src/main/java/org/apache/drill/yarn/core/ContainerRequestSpec.java b/drill-yarn/src/main/java/org/apache/drill/yarn/core/ContainerRequestSpec.java index 99a22d7e5..27819281a 100644 --- a/drill-yarn/src/main/java/org/apache/drill/yarn/core/ContainerRequestSpec.java +++ b/drill-yarn/src/main/java/org/apache/drill/yarn/core/ContainerRequestSpec.java @@ -22,7 +22,6 @@ import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.apache.drill.yarn.appMaster.Scheduler; import org.apache.hadoop.yarn.api.records.Priority; import org.apache.hadoop.yarn.api.records.Resource; import org.apache.hadoop.yarn.client.api.AMRMClient.ContainerRequest; diff --git a/drill-yarn/src/test/java/org/apache/drill/yarn/client/TestClient.java b/drill-yarn/src/test/java/org/apache/drill/yarn/client/TestClient.java index 7912bd5c3..73f1b00f8 100644 --- a/drill-yarn/src/test/java/org/apache/drill/yarn/client/TestClient.java +++ b/drill-yarn/src/test/java/org/apache/drill/yarn/client/TestClient.java @@ -17,16 +17,13 @@ */ package org.apache.drill.yarn.client; -import static org.junit.Assert.*; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; import java.io.ByteArrayOutputStream; -import java.io.InputStream; -import java.io.OutputStream; import java.io.PrintStream; import java.io.UnsupportedEncodingException; -import org.apache.drill.yarn.client.ClientContext; -import org.apache.drill.yarn.client.DrillOnYarn; import org.junit.Test; public class TestClient { diff --git a/drill-yarn/src/test/java/org/apache/drill/yarn/core/TestConfig.java b/drill-yarn/src/test/java/org/apache/drill/yarn/core/TestConfig.java index 051948417..99cb2c62b 100644 --- a/drill-yarn/src/test/java/org/apache/drill/yarn/core/TestConfig.java +++ b/drill-yarn/src/test/java/org/apache/drill/yarn/core/TestConfig.java @@ -17,7 +17,10 @@ */ package org.apache.drill.yarn.core; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; diff --git a/drill-yarn/src/test/java/org/apache/drill/yarn/zk/TestAmRegistration.java b/drill-yarn/src/test/java/org/apache/drill/yarn/zk/TestAmRegistration.java index 31c634911..c8d940e7e 100644 --- a/drill-yarn/src/test/java/org/apache/drill/yarn/zk/TestAmRegistration.java +++ b/drill-yarn/src/test/java/org/apache/drill/yarn/zk/TestAmRegistration.java @@ -17,7 +17,8 @@ */ package org.apache.drill.yarn.zk; -import static org.junit.Assert.*; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; import org.apache.curator.test.TestingServer; import org.apache.drill.yarn.appMaster.AMRegistrar.AMRegistrationException; diff --git a/drill-yarn/src/test/java/org/apache/drill/yarn/zk/TestZkRegistry.java b/drill-yarn/src/test/java/org/apache/drill/yarn/zk/TestZkRegistry.java index b6f654067..4263b01a0 100644 --- a/drill-yarn/src/test/java/org/apache/drill/yarn/zk/TestZkRegistry.java +++ b/drill-yarn/src/test/java/org/apache/drill/yarn/zk/TestZkRegistry.java @@ -17,7 +17,10 @@ */ package org.apache.drill.yarn.zk; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; import java.util.List; import java.util.Map; |