خرید بک لینک

after run

sudo sbt/sbt assembly

got error

[wa]
[wa] /home/martin/Downloads/spark-1.6.1/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/WriterContainer.scala:204: constructor TaskID in class TaskID is deprecated: see corresponding Javadoc for more information.
[wa] this.taskId = new TaskID(this.jobId, true, splitId)
[wa]
[wa] /home/martin/Downloads/spark-1.6.1/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/text/DefaultSource.scala:92: constructor Job in class Job is deprecated: see corresponding Javadoc for more information.
[wa] val job = new Job(sqlContext.sparkContext.hadoopConfiguration)
[wa]
[info] Compiling 2 Scala sources and 2 Java sources to /home/martin/Downloads/spark-1.6.1/exteal/mqtt/target/scala-2.10/test-classes...
[info] Compiling 238 Scala sources and 4 Java sources to /home/martin/Downloads/spark-1.6.1/mllib/target/scala-2.10/classes...
[wa] /home/martin/Downloads/spark-1.6.1/mllib/src/main/scala/org/apache/spark/ml/Transformer.scala:119: method callUDF in object functions is deprecated: Use udf. This will be removed in Spark 2.0.
[wa] callUDF(this.createTransformFunc, outputDataType, dataset($(inputCol))))
[wa] ^
[wa] /home/martin/Downloads/spark-1.6.1/mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala:344: method setRuns in class KMeans is deprecated: Support for runs is deprecated. This param will have no effect in 1.7.0.
[wa] .setRuns(runs)
[wa] ^
[wa] /home/martin/Downloads/spark-1.6.1/mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala:502: method setRuns in class KMeans is deprecated: Support for runs is deprecated. This param will have no effect in 1.7.0.
[wa] .setRuns(runs)
[wa] ^
[wa] /home/martin/Downloads/spark-1.6.1/mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala:526: method setRuns in class KMeans is deprecated: Support for runs is deprecated. This param will have no effect in 1.7.0.
[wa] .setRuns(runs)
[wa] ^
[wa] four waings found
[info] Compiling 28 Scala sources and 1 Java source to /home/martin/Downloads/spark-1.6.1/sql/hive/target/scala-2.10/classes...
/home/martin/Downloads/spark-1.6.1/build/sbt-launch-lib.bash: line 72: 4210 Killed "$@"
martin@ubuntu:~/Downloads/spark-1.6.1$

martin@ubuntu:~/Downloads/spark-1.6.1$ ./bin/run-example SparkPi 10
Failed to find Spark examples assembly in /home/martin/Downloads/spark-1.6.1/lib or /home/martin/Downloads/spark-1.6.1/examples/target
You need to build Spark before ruing this program

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 5 خرداد 1395 ساعت: 9:27

صفحه بندی