maven編譯zepplin源碼_win10

背景

吃完飯,玩了會遊戲,感覺沒有意思,想給自己找些事情做。組內另一個小組在研修Apache Zepplin,看了一些,官網有binary文件,自己想再學習一下maven,就選它作爲折騰的對象了。

Apache Zepplin是一個基於web的文本,可以分析數據。是一個數據可視化操作的tool.
英文:
A web-based notebook that enables interactive data analytics. 
You can make beautiful data-driven, interactive and collaborative documents with SQL, Scala and more.


zepplin的特點:
  1. 數據手記
  2. 數據挖掘
  3. 數據分析
  4. 數據虛擬
       其他的信息,可以參考Apache的官網去詳細的瞭解了,此處主要講述的是源碼編譯以及遇到的問題。

事前準備

  1. maven3.3.9
  2. Apache Zepplin-0.5.6源碼
  3. JDK1,.7

編譯

  1. 解壓zepplin源碼,放置在maven目錄下
  2. 編譯zepplin源碼
           因爲maven環境之前已經搭建好了,本次直接就編譯Zepplin源碼了。
          命令:mvn clean package -DskipTests
           然後就開始了各種依賴包文件的下載了。。。。。。

     依然是各種問題不斷.....
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [  6.007 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [  9.027 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [  8.343 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [01:14 min]
[INFO] Zeppelin: Spark .................................... SUCCESS [05:02 min]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  4.249 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  0.781 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  0.844 s]
[INFO] Zeppelin: Hive interpreter ......................... SUCCESS [01:57 min]
[INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [04:08 min]
[INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [  8.080 s]
[INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [ 28.347 s]
[INFO] Zeppelin: Flink .................................... FAILURE [16:50 min]
[INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
[INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
[INFO] Zeppelin: Lens interpreter ......................... SKIPPED
[INFO] Zeppelin: Cassandra ................................ SKIPPED
[INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30:20 min
[INFO] Finished at: 2016-04-18T21:57:38+08:00
[INFO] Final Memory: 87M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project zeppelin-flink: Could not resolve dependencies for project org.apache.zeppelin:zeppelin-flink:jar:0.5.6-incubating: Could not transfer artifact org.apache.flink:flink-scala:jar:0.10.0 from/to central (https://repo.maven.apache.org/maven2): GET request of: org/apache/flink/flink-scala/0.10.0/flink-scala-0.10.0.jar from central failed: SSL peer shut down incorrectly -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :zeppelin-flink

看到這個,又吐槽了一把廣電的網速了,繼續呵呵。。。。
果斷重新再來一次,期待有所突破。但,現實是又出錯了,而且出錯的原因還是一樣的。。。。
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [  7.664 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [ 12.030 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [  9.204 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [01:02 min]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 52.334 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  1.143 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  0.907 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  0.922 s]
[INFO] Zeppelin: Hive interpreter ......................... SUCCESS [  7.869 s]
[INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [ 12.061 s]
[INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [  1.969 s]
[INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [  2.656 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [09:14 min]
[INFO] Zeppelin: Apache Ignite interpreter ................ FAILURE [05:24 min]
[INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
[INFO] Zeppelin: Lens interpreter ......................... SKIPPED
[INFO] Zeppelin: Cassandra ................................ SKIPPED
[INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:31 min
[INFO] Finished at: 2016-04-18T22:17:49+08:00
[INFO] Final Memory: 102M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project zeppelin-ignite: Could not resolve dependencies for project org.apache.zeppelin:zeppelin-ignite:jar:0.5.6-incubating: Could no
t transfer artifact org.springframework:spring-core:jar:4.1.0.RELEASE from/to central (https://repo.maven.apache.org/maven2): GET request of: org/springframework/spring
-core/4.1.0.RELEASE/spring-core-4.1.0.RELEASE.jar from central failed: SSL peer shut down incorrectly -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :zeppelin-ignite

爲了編譯成功,只好再來一次了....
又一次被廣電網絡打敗了....
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [  7.559 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [ 10.923 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [  9.301 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [01:01 min]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 53.423 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  1.141 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  1.407 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  1.078 s]
[INFO] Zeppelin: Hive interpreter ......................... SUCCESS [  7.455 s]
[INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [ 12.610 s]
[INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [  2.469 s]
[INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [  2.688 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [ 12.539 s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [  4.782 s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [  1.425 s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [  7.378 s]
[INFO] Zeppelin: Cassandra ................................ FAILURE [04:11 min]
[INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:30 min
[INFO] Finished at: 2016-04-18T22:50:37+08:00
[INFO] Final Memory: 124M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project zeppelin-cassandra: Could not resolve dependencies for project org.apache.zeppelin:zeppelin-cassandra:jar:0.5.6-incubating: Th
e following artifacts could not be resolved: org.scala-lang:scala-compiler:jar:2.11.7, org.antlr:antlr:jar:3.5.2, it.unimi.dsi:fastutil:jar:6.5.7, org.apache.cassandra:
cassandra-thrift:jar:2.1.5, net.java.dev.jna:jna:jar:4.0.0, info.archinnov:achilles-core:jar:3.2.2, info.archinnov:achilles-model:jar:3.2.2, org.reflections:reflections
:jar:0.9.10, org.javassist:javassist:jar:3.19.0-GA, com.fasterxml.jackson.core:jackson-core:jar:2.3.3, com.fasterxml.jackson.core:jackson-annotations:jar:2.3.3, com.fas
terxml.jackson.core:jackson-databind:jar:2.3.3, com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.3.3, cglib:cglib-nodep:jar:2.2.2, com.google.guava:gu
ava:jar:16.0, org.mockito:mockito-core:jar:1.9.5, org.objenesis:objenesis:jar:1.0, org.assertj:assertj-core:jar:1.7.0: Could not transfer artifact org.scala-lang:scala-
compiler:jar:2.11.7 from/to central (https://repo.maven.apache.org/maven2): Remote host closed connection during handshake: SSL peer shut down incorrectly -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :zeppelin-cassandra

打不死的小強,再來....
還是網絡不行導致了同樣的問題再次出現了。

---未完待續----



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章