背景
You can make beautiful data-driven, interactive and collaborative documents with SQL, Scala and more.
- 數據手記
- 數據挖掘
- 數據分析
- 數據虛擬
事前準備
- maven3.3.9
- Apache Zepplin-0.5.6源碼
- JDK1,.7
編譯
- 解壓zepplin源碼,放置在maven目錄下
- 編譯zepplin源碼
[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
打不死的小強,再來....