[ 
https://issues.apache.org/jira/browse/HBASE-20176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-20176:
---------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

Thanks for the patch, Artem

> 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
>            Assignee: Artem Ervits
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HBASE-20176.v01.patch
>
>
> 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