0
我從https://github.com/apache/spark/tree/master/下載了示例Spark代碼。我做了mvn軟件包調用。它跑了很長時間。火花示例不是建築物
但是,當我在spark-examples_2.1.1文件夾中運行「mvn install」時,出現下面的錯誤。任何幫助如何獲得這個項目的建設和調試?
[INFO] Building Spark Project Examples 2.2.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for
org.apache.spark:spark-mllib_2.11:jar:2.2.0-SNAPSHOT is missing, no
dependency information available [WARNING] The POM for
org.apache.spark:spark-hive_2.11:jar:2.2.0-SNAPSHOT is missing, no
dependency information available [WARNING] The POM for
org.apache.spark:spark-streaming-flume_2.11:jar:2.2.0-SNAPSHOT is
missing, no dependency information available [WARNING] The POM for
org.apache.spark:spark-streaming-kafka-0-8_2.11:jar:2.2.0-SNAPSHOT is
missing, no dependency information available [INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE [INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.864 s [INFO] Finished at:
2017-02-15T18:02:07-05:00 [INFO] Final Memory: 17M/303M [INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project spark-examples_2.11: Could
not resolve dependencies for project
org.apache.spark:spark-examples_2.11:jar:2.2.0-SNAPSHOT: The following
artifacts could not be resolved:
org.apache.spark:spark-mllib_2.11:jar:2.2.0-SNAPSHOT,
org.apache.spark:spark-hive_2.11:jar:2.2.0-SNAPSHOT,
org.apache.spark:spark-streaming-flume_2.11:jar:2.2.0-SNAPSHOT,
org.apache.spark:spark-streaming-kafka-0-8_2.11:jar:2.2.0-SNAPSHOT:
Could not find artifact
org.apache.spark:spark-mllib_2.11:jar:2.2.0-SNAPSHOT -> [Help 1]
[ERROR] [ERROR] To see the full stack trace of the errors, re-run
Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to
enable full debug logging. [ERROR] [ERROR] For more information about
the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Process finished with exit code 1