Ted Yu created HBASE-20176:
------------------------------

             Summary: Fix warnings about Logging import in hbase-spark test code
                 Key: HBASE-20176
                 URL: https://issues.apache.org/jira/browse/HBASE-20176
             Project: HBase
          Issue Type: Test
            Reporter: Ted Yu


This is follow-on to HBASE-16179.

In HBASE-16179 we fixed warning in non-test code in the following form:
{code}
warning: imported `Logging' is permanently hidden by definition of trait      
Logging in package spark
{code}
However, there are a few warnings not detected by precommit bot:
{code}
[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
{code}
This issue is to fix the above warnings in test code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to