[GitHub] spark pull request: [SPARK-9613] [HOTFIX] Fix usage of JavaConvert...

2015-08-27 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8479#issuecomment-135369577
  
  [Test build #1696 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1696/console)
 for   PR 8479 at commit 
[`b6c17e7`](https://github.com/apache/spark/commit/b6c17e7daad09096e0bed94e677226b61d349bc1).
 * This patch **passes all tests**.
 * This patch merges cleanly.
 * This patch adds the following public classes _(experimental)_:
  * `class LogisticRegressionModel @Since(1.3.0) (`
  * `class SVMModel @Since(1.1.0) (`
  * `class GaussianMixtureModel @Since(1.3.0) (`
  * `class KMeansModel @Since(1.1.0) (@Since(1.0.0) val clusterCenters: 
Array[Vector])`
  * `class PowerIterationClusteringModel @Since(1.3.0) (`
  * `class StreamingKMeansModel @Since(1.2.0) (`
  * `class StreamingKMeans @Since(1.2.0) (`
  * `class BinaryClassificationMetrics @Since(1.3.0) (`
  * `class MulticlassMetrics @Since(1.1.0) (predictionAndLabels: 
RDD[(Double, Double)]) `
  * `class MultilabelMetrics @Since(1.2.0) (predictionAndLabels: 
RDD[(Array[Double], Array[Double])]) `
  * `class RegressionMetrics @Since(1.2.0) (`
  * `class ChiSqSelectorModel @Since(1.3.0) (`
  * `class ChiSqSelector @Since(1.3.0) (`
  * `class ElementwiseProduct @Since(1.4.0) (`
  * `class IDF @Since(1.2.0) (@Since(1.2.0) val minDocFreq: Int) `
  * `class Normalizer @Since(1.1.0) (p: Double) extends VectorTransformer 
`
  * `class PCA @Since(1.4.0) (@Since(1.4.0) val k: Int) `
  * `class StandardScaler @Since(1.1.0) (withMean: Boolean, withStd: 
Boolean) extends Logging `
  * `class StandardScalerModel @Since(1.3.0) (`
  * `class FPGrowthModel[Item: ClassTag] @Since(1.3.0) (`
  * `  class FreqItemset[Item] @Since(1.3.0) (`
  * `  class FreqSequence[Item] @Since(1.5.0) (`
  * `class PrefixSpanModel[Item] @Since(1.5.0) (`
  * `class DenseMatrix @Since(1.3.0) (`
  * `class SparseMatrix @Since(1.3.0) (`
  * `class DenseVector @Since(1.0.0) (`
  * `class SparseVector @Since(1.0.0) (`
  * `class BlockMatrix @Since(1.3.0) (`
  * `class CoordinateMatrix @Since(1.0.0) (`
  * `class IndexedRowMatrix @Since(1.0.0) (`
  * `class RowMatrix @Since(1.0.0) (`
  * `class PoissonGenerator @Since(1.1.0) (`
  * `class ExponentialGenerator @Since(1.3.0) (`
  * `class GammaGenerator @Since(1.3.0) (`
  * `class LogNormalGenerator @Since(1.3.0) (`
  * `case class Rating @Since(0.8.0) (`
  * `class MatrixFactorizationModel @Since(0.8.0) (`
  * `abstract class GeneralizedLinearModel @Since(1.0.0) (`
  * `class IsotonicRegressionModel @Since(1.3.0) (`
  * `case class LabeledPoint @Since(1.0.0) (`
  * `class LassoModel @Since(1.1.0) (`
  * `class LinearRegressionModel @Since(1.1.0) (`
  * `class RidgeRegressionModel @Since(1.1.0) (`
  * `class MultivariateGaussian @Since(1.3.0) (`
  * `case class BoostingStrategy @Since(1.4.0) (`
  * `class Strategy @Since(1.3.0) (`
  * `class DecisionTreeModel @Since(1.0.0) (`
  * `class Node @Since(1.2.0) (`
  * `class Predict @Since(1.2.0) (`
  * `class RandomForestModel @Since(1.2.0) (`
  * `class GradientBoostedTreesModel @Since(1.2.0) (`
  * `abstract class SetOperation(left: LogicalPlan, right: LogicalPlan) 
extends BinaryNode `
  * `case class Union(left: LogicalPlan, right: LogicalPlan) extends 
SetOperation(left, right) `
  * `case class Intersect(left: LogicalPlan, right: LogicalPlan) extends 
SetOperation(left, right)`
  * `case class Except(left: LogicalPlan, right: LogicalPlan) extends 
SetOperation(left, right)`



---
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



[GitHub] spark pull request: [SPARK-9613] [HOTFIX] Fix usage of JavaConvert...

2015-08-27 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/spark/pull/8479


---
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



[GitHub] spark pull request: [SPARK-9613] [HOTFIX] Fix usage of JavaConvert...

2015-08-27 Thread srowen
Github user srowen commented on the pull request:

https://github.com/apache/spark/pull/8479#issuecomment-135360179
  
LGTM


---
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



[GitHub] spark pull request: [SPARK-9613] [HOTFIX] Fix usage of JavaConvert...

2015-08-27 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8479#issuecomment-135360870
  
  [Test build #1696 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1696/consoleFull)
 for   PR 8479 at commit 
[`b6c17e7`](https://github.com/apache/spark/commit/b6c17e7daad09096e0bed94e677226b61d349bc1).


---
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



[GitHub] spark pull request: [SPARK-9613] [HOTFIX] Fix usage of JavaConvert...

2015-08-27 Thread jaceklaskowski
GitHub user jaceklaskowski opened a pull request:

https://github.com/apache/spark/pull/8479

[SPARK-9613] [HOTFIX] Fix usage of JavaConverters removed in Scala 2.11

Fix for 
[JavaConverters.asJavaListConverter](http://www.scala-lang.org/api/2.10.5/index.html#scala.collection.JavaConverters$)
 being removed in 2.11.7 and hence the build fails with the 2.11 profile 
enabled. Tested with the default 2.10 and 2.11 profiles. BUILD SUCCESS in both 
cases.

Build for 2.10:

./build/mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.7.1 -DskipTests 
clean install

and 2.11:

./dev/change-scala-version.sh 2.11
./build/mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.7.1 -Dscala-2.11 
-DskipTests clean install

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jaceklaskowski/spark SPARK-9613-hotfix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/spark/pull/8479.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #8479


commit b6c17e7daad09096e0bed94e677226b61d349bc1
Author: Jacek Laskowski ja...@japila.pl
Date:   2015-08-27T08:38:59Z

[SPARK-9613] [HOTFIX] Fix usage of JavaConverters removed in Scala 2.11

Fix for JavaConverters.asJavaListConverter being removed in 2.11.7 and 
hence the build fails.
Tested with the default 2.10 and 2.11 profiles. BUILD SUCCESS in both cases.

Build for 2.10:

./build/mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.7.1 -DskipTests clean 
install

and 2.11:

./dev/change-scala-version.sh 2.11
./build/mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.7.1 -Dscala-2.11 
-DskipTests clean install




---
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



[GitHub] spark pull request: [SPARK-9613] [HOTFIX] Fix usage of JavaConvert...

2015-08-27 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8479#issuecomment-135344885
  
Can one of the admins verify this patch?


---
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