diff --git a/hadoop-tools/hadoop-kafka/pom.xml b/hadoop-tools/hadoop-kafka/pom.xml
index 06c38f7bcf..13e0ac0a53 100644
--- a/hadoop-tools/hadoop-kafka/pom.xml
+++ b/hadoop-tools/hadoop-kafka/pom.xml
@@ -36,32 +36,6 @@
true
-
-
- tests-off
-
-
- src/test/resources/auth-keys.xml
-
-
-
- true
-
-
-
- tests-on
-
-
- src/test/resources/auth-keys.xml
-
-
-
- false
-
-
-
-
-
diff --git a/hadoop-tools/hadoop-kafka/src/test/java/org/apache/hadoop/metrics2/impl/TestKafkaMetrics.java b/hadoop-tools/hadoop-kafka/src/test/java/org/apache/hadoop/metrics2/impl/TestKafkaMetrics.java
index eff1afa328..8479298d56 100644
--- a/hadoop-tools/hadoop-kafka/src/test/java/org/apache/hadoop/metrics2/impl/TestKafkaMetrics.java
+++ b/hadoop-tools/hadoop-kafka/src/test/java/org/apache/hadoop/metrics2/impl/TestKafkaMetrics.java
@@ -18,7 +18,7 @@
package org.apache.hadoop.metrics2.impl;
-import com.google.common.base.Objects;
+import com.google.common.base.MoreObjects;
import com.google.common.collect.Lists;
import org.apache.commons.configuration2.SubsetConfiguration;
import org.apache.hadoop.metrics2.AbstractMetric;
@@ -74,7 +74,7 @@ public String description() {
@Override
public String toString() {
- return Objects.toStringHelper(this).add("name", name())
+ return MoreObjects.toStringHelper(this).add("name", name())
.add("description", desc).toString();
}
}