Details
-
Test
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
This is follow-on to HBASE-16179.
In HBASE-16179 we fixed warning in non-test code in the following form:
warning: imported `Logging' is permanently hidden by definition of trait Logging in package spark
However, there are a few warnings not detected by precommit bot:
[WARNING] /a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/HBaseConnectionCacheSuite.scala:25: warning: imported `Logging' is permanently hidden by definition of trait Logging in package spark [WARNING] import org.apache.hadoop.hbase.spark.Logging [WARNING] ^ [WARNING] /a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/HBaseContextSuite.scala:23: warning: imported `Logging' is permanently hidden by definition of object Logging in package spark [WARNING] import org.apache.hadoop.hbase.spark.Logging [WARNING] ^ [WARNING] /a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/HBaseContextSuite.scala:23: warning: imported `Logging' is permanently hidden by definition of trait Logging in package spark [WARNING] import org.apache.hadoop.hbase.spark.Logging [WARNING] ^ [WARNING] /a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/HBaseDStreamFunctionsSuite.scala:20: warning: imported `Logging' is permanently hidden by definition of object Logging in package spark [WARNING] import org.apache.hadoop.hbase.spark.Logging [WARNING] ^ [WARNING] /a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/HBaseDStreamFunctionsSuite.scala:20: warning: imported `Logging' is permanently hidden by definition of trait Logging in package spark [WARNING] import org.apache.hadoop.hbase.spark.Logging [WARNING] ^ [WARNING] /a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/HBaseRDDFunctionsSuite.scala:20: warning: imported `Logging' is permanently hidden by definition of object Logging in package spark [WARNING] import org.apache.hadoop.hbase.spark.Logging [WARNING] ^ [WARNING] /a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/HBaseRDDFunctionsSuite.scala:20: warning: imported `Logging' is permanently hidden by definition of trait Logging in package spark [WARNING] import org.apache.hadoop.hbase.spark.Logging [WARNING] ^ [WARNING] /a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/PartitionFilterSuite.scala:21: warning: imported `Logging' is permanently hidden by definition of object Logging in package spark [WARNING] import org.apache.hadoop.hbase.spark.Logging [WARNING] ^ [WARNING] /a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/PartitionFilterSuite.scala:21: warning: imported `Logging' is permanently hidden by definition of trait Logging in package spark [WARNING] import org.apache.hadoop.hbase.spark.Logging
This issue is to fix the above warnings in test code.