Github user squito commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6263#discussion_r44064388
  
    --- Diff: 
core/src/main/scala/org/apache/spark/storage/StorageStatusListener.scala ---
    @@ -17,26 +17,55 @@
     
     package org.apache.spark.storage
     
    +import java.util.concurrent.TimeUnit
    +
    +import scala.collection.JavaConversions.collectionAsScalaIterable
     import scala.collection.mutable
    +import scala.language.reflectiveCalls
    --- End diff --
    
    ok, so that is in the StorageStatusListener*Suite*, not 
StorageStatusListener.  You're getting that b/c you're calling 
`ticker.advance`, though you haven't explicitly defined a class or interface w/ 
that method, so scala is using some reflection tricks to do it.  If you change 
that test as I suggested, that warning will disappear and you can remove the 
import


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to