2016-11-22 15 views
0

マスターからビルドするときにmake devmake releasemake jupyterをtoreeで実行するとエラーが発生します。Toreeをビルドおよびコンパイルできません

私のマシンは、私がapt-get install default-jdk

経由でJavaをインストールしtoreeルートで make releaseを実行しているとき、私は

[email protected]:/home/incubator-toree# make release 
APACHE_SPARK_VERSION=2.0.0 VERSION=0.2.0.dev1-incubating IS_SNAPSHOT=true sbt toree/assembly 
Unrecognized VM option 'MaxPermSize=1024M' 
Error: Could not create the Java Virtual Machine. 
Error: A fatal exception has occurred. Program will exit. 
Makefile:110: recipe for target 'target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar' failed 
make: *** [target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar] Error 1 
[email protected]:/home/incubator-toree# 

make jupyter

[email protected]:/home/incubator-toree# make jupyter 
APACHE_SPARK_VERSION=2.0.0 VERSION=0.2.0.dev1-incubating IS_SNAPSHOT=true sbt toree/assembly 
Unrecognized VM option 'MaxPermSize=1024M' 
Error: Could not create the Java Virtual Machine. 
Error: A fatal exception has occurred. Program will exit. 
Makefile:110: recipe for target 'target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar' failed 
make: *** [target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar] Error 1 

を得るのUbuntu 16.04

[email protected]:/home/incubator-toree# uname -r 
4.4.0-47-generic 

です3210

[email protected]:/home/incubator-toree# java -version 
openjdk version "9-internal" 
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src) 
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode) 
[email protected]:/home/incubator-toree# 

make release

[email protected]:/home/incubator-toree# make release 
APACHE_SPARK_VERSION=2.0.0 VERSION=0.2.0.dev1-incubating IS_SNAPSHOT=true sbt toree/assembly 
Unrecognized VM option 'MaxPermSize=1024M' 
Error: Could not create the Java Virtual Machine. 
Error: A fatal exception has occurred. Program will exit. 
Makefile:110: recipe for target 'target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar' failed 
make: *** [target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar] Error 1 
[email protected]:/home/incubator-toree# 

私はドッキングウィンドウは、それがすでに構築パッケージを提供していますので、あなたは、Toreeを構築し、コンパイルする必要はありません

[email protected]:/home/incubator-toree# docker -v 
Docker version 1.12.3, build 6b644ec 
+0

これにOracle JDKを使用しようとしましたか? –

+0

こんにちはViktor、私はそれを最終的に働くことができた。パッケージにコンパイルしてpipでインストールする必要がありました – Ming

+0

すばらしいニュース、おめでとうございます! –

答えて

0

がインストールされています。

ToreeのDevスナップショットは、https://dist.apache.org/repos/dist/dev/incubator/toreeにあります。これらのパッケージのいずれかを使用してインストールするには、以下を使用することができます。

pip install <PIP_RELEASE_URL> 

jupyter toree install 

PIP_RELEASE_URLは、PIPパッケージの一つです。例:

pip install https://dist.apache.org/repos/dist/dev/incubator/toree/0.2.0/snapshots/dev1/toree-pip/toree-0.2.0.dev1.tar.gz 
jupyter toree install --spark_home=$SPARK_HOME 
関連する問題