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

Sean Owen resolved SPARK-15640.
-------------------------------
    Resolution: Not A Problem

> Build mllib fail, asBreeze method not found
> -------------------------------------------
>
>                 Key: SPARK-15640
>                 URL: https://issues.apache.org/jira/browse/SPARK-15640
>             Project: Spark
>          Issue Type: Bug
>          Components: Build, ML
>            Reporter: Weichen Xu
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> building mllib module and fail:
> build/mvn  -Pyarn -Phadoop-2.6 -Dhadoop.version=2.6.0 -Denforcer.skip=true 
> -pl :spark-mllib_2.11 test
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
> spark-mllib_2.11 ---
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
> spark-mllib_2.11 ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 16 resources
> [INFO] Copying 3 resources
> [INFO] 
> [INFO] --- scala-maven-plugin:3.2.2:compile (scala-compile-first) @ 
> spark-mllib_2.11 ---
> [INFO] Using zinc server for incremental compilation
> [warn] Pruning sources from previous analysis, due to incompatible 
> CompileSetup.
> [info] Compiling 251 Scala sources and 4 Java sources to 
> /diskext/mySpark/spark/mllib/target/scala-2.11/classes...
> [error] 
> /diskext/mySpark/spark/mllib/src/main/scala/org/apache/spark/ml/clustering/GaussianMixture.scala:116:
>  value asBreeze is not a member of org.apache.spark.ml.linalg.Vector
> [error]       
> GaussianMixtureModel.computeProbabilities(features.asBreeze.toDenseVector, 
> gaussians, weights)
> [error]                                                          ^
> [error] 
> /diskext/mySpark/spark/mllib/src/main/scala/org/apache/spark/ml/feature/MaxAbsScaler.scala:125:
>  value asBreeze is not a member of org.apache.spark.ml.linalg.Vector
> [error]       val brz = vector.asBreeze / maxAbsUnzero.asBreeze
> [error]                        ^
> [error] 
> /diskext/mySpark/spark/mllib/src/main/scala/org/apache/spark/ml/feature/MaxAbsScaler.scala:125:
>  value asBreeze is not a member of org.apache.spark.ml.linalg.Vector
> [error]       val brz = vector.asBreeze / maxAbsUnzero.asBreeze



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to