You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Andrew Palumbo (JIRA)" <ji...@apache.org> on 2015/03/06 01:37:38 UTC

[jira] [Updated] (MAHOUT-1563) Clean up WARNINGs during build

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

Andrew Palumbo updated MAHOUT-1563:
-----------------------------------
    Labels: DSL scala  (was: )

> Clean up WARNINGs during build
> ------------------------------
>
>                 Key: MAHOUT-1563
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1563
>             Project: Mahout
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0
>            Reporter: Andrew Musselman
>            Priority: Minor
>              Labels: DSL, scala
>             Fix For: 0.9
>
>
> We need to clean up warnings in the maven logs.  They seem to have piled up recently; some are about scala lib version conflicts, some are about deprecated APIs, some are about code style.
> Some may be fine for now but extra warnings in build logs feels like bad hygiene to me.
> Some examples:
> [WARNING]  Expected all dependencies to require Scala version: 2.10.3
> [WARNING]  com.twitter:chill_2.10:0.3.1 requires scala version: 2.10.0
> [WARNING] Multiple versions of scala libraries detected!
> [WARNING] /home/akm/mahout/spark/src/main/scala/org/apache/mahout/sparkbindings/drm/CheckpointedDrmBase.scala:73: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
> [INFO]     this
> [WARNING]  Expected all dependencies to require Scala version: 2.10.3
> [WARNING]  org.apache.mahout:mahout-math-scala:1.0-SNAPSHOT requires scala version: 2.10.3
> [WARNING]  org.scalatest:scalatest_2.10:2.0 requires scala version: 2.10.0
> [WARNING] Multiple versions of scala libraries detected!
> [WARNING] /home/akm/mahout/math-scala/src/main/scala/org/apache/mahout/math/scalabindings/package.scala:132: warning: non-variable type argument Double in type pattern Iterable[Double] is unchecked since it is eliminated by erasure
> [INFO]         case t: Iterable[Double] => t.toArray
> [WARNING] /home/akm/mahout/examples/src/main/java/org/apache/mahout/clustering/syntheticcontrol/kmeans/Job.java: Some input files use or override a deprecated API.
> [WARNING] /home/akm/mahout/examples/src/main/java/org/apache/mahout/clustering/syntheticcontrol/kmeans/Job.java: Recompile with -Xlint:deprecation for details.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)