-
Notifications
You must be signed in to change notification settings - Fork 56
Building Apache Zeppelin
The instructions provided below specify the steps to build Apache Zeppelin version 0.7.3 on Linux on IBM Z for the following distributions:
- RHEL (7.1, 7.2, 7.3, 7.4)
- SLES (12, 12 SP1, 12 SP2, 12 SP3)
- Ubuntu (16.04, 17.10)
General Notes:
- When following the steps below please use a standard permission user unless otherwise specified.
- A directory
/<source_root>/will be referred to in these instructions, this is a temporary writeable directory anywhere you'd like to place it.
-
RHEL (7.1, 7.2, 7.3, 7.4)
sudo yum install git tar wget java-1.8.0-openjdk-headless java-1.8.0-openjdk-devel -
SLES 12
sudo zypper install java-1_7_0-openjdk-devel java-1_7_0-openjdk-headless java-1_7_0-openjdk tar wget git -
SLES (12 SP1, 12 SP2, 12 SP3)
sudo zypper install git tar wget java-1_8_0-openjdk java-1_8_0-openjdk-devel -
Ubuntu (16.04, 17.10)
sudo apt-get update sudo apt-get install git tar wget maven openjdk-8-jdk-headless openjdk-8-jdk
cd /<source_root>/
wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
tar -zxvf apache-maven-3.3.9-bin.tar.gz
export PATH=/<source_root>/apache-maven-3.3.9/bin:$PATH
export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=1024m"
export JAVA_HOME=/usr/lib64/jvm/java # SLES(12, 12 SP1, 12 SP2, 12 SP3)
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-s390x # Ubuntu (16.04, 17.10)
export JAVA_HOME=/usr/lib/jvm/java # RHEL (7.1, 7.2, 7.3, 7.4)
export PATH=$JAVA_HOME/bin:$PATH
- For Ubuntu
cd /<source_root>/ wget https://github.com/yarnpkg/yarn/releases/download/v0.24.1/yarn_0.24.1_all.deb sudo dpkg -i yarn_0.24.1_all.deb - For RHEL and SLES
cd /<source_root>/ wget https://yarnpkg.com/latest.tar.gz tar zvxf latest.tar.gz export PATH=$PATH:/<source_root>/dist/bin
git clone https://github.com/apache/zeppelin.git
cd zeppelin/
git checkout v0.7.3
@@ -44,7 +44,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!--plugin versions-->
- <plugin.frontned.version>1.3</plugin.frontned.version>
+ <plugin.frontned.version>1.5</plugin.frontned.version>
</properties>
<build>
cd <source_root>/zeppelin/
mvn clean package -DskipTests
cd <source_root>/zeppelin/
mvn clean package
Note:
-
Individual test case can be executed by running command
mvn clean testin the respective modules -
Test case failures in modules
Zengine,Spark,python Interpreter,web Application,servercan be ignored as they are seen on x86 system as well -
Test case failures in modules
Cassandrapassed on increasing server wait time in Achilles source code
cd /<source_root>/zeppelin/
bin/zeppelin-daemon.sh start
Open http://<ip_address>:8080/#/ in your browser to access Web UI.
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.