First, I installed the following software:
> sudo apt-get update
> sudo apt-get install openjdk-7-jdk
> sudo apt-get install maven
> sudo apt-get install npm
> sudo apt-get install libfontconfig
> sudo apt-get install git
Then, I forked the Zeppelin repo on Github and cloned it on my computer:
> git clone https://github.com/bustios/incubator-zeppelin.git zeppelin
Now, you have to configure maven to use more memory than usual by:
> export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=1024m"
Then, execute the next command to build Zeppelin using Maven:
> mvn clean package -DskipTests -Psparkr
> sudo apt-get install openjdk-7-jdk
> sudo apt-get install maven
> sudo apt-get install npm
> sudo apt-get install libfontconfig
> sudo apt-get install git
Then, I forked the Zeppelin repo on Github and cloned it on my computer:
> git clone https://github.com/bustios/incubator-zeppelin.git zeppelin
> export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=1024m"
Then, execute the next command to build Zeppelin using Maven:
> mvn clean package -DskipTests -Psparkr
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export SPARK_HOME=YOUR_SPARK_DIR/spark-1.6.0
Next, we have to install R. In my Ubuntu distribution, I followed the steps below:
Install R and "evaluate" package:
> sudo apt-get install r-base
> sudo apt-get install r-cran-evaluate
Next, we have to install R. In my Ubuntu distribution, I followed the steps below:
Install R and "evaluate" package:
> sudo apt-get install r-base
> sudo apt-get install r-cran-evaluate
Link SparkR library to R libraries directory:
> ln -s SPARK_HOME/R/lib/SparkR YOUR_R_LIB_DIR/SparkR
Now, we are ready to develop our notebooks.
No comments:
Post a Comment