Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions zeppelin/zeppelin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ function install_zeppelin(){
if [ $? != 0 ]; then
err 'Failed to install zeppelin'
fi

# If both asm-3.1.jar and asm-5.0.4.jar are found in /usr/lib/zeppelin/lib for
# Zeppelin 0.7, delete asm-5.0.4.jar. This is a temporary workaround before
# we figure out the root cause of asm conflict.
local zeppelin_version="$(dpkg-query --showformat='${Version}' --show zeppelin)"
local asm_3_1=/usr/lib/zeppelin/lib/asm-3.1.jar
local asm_5_0_4=/usr/lib/zeppelin/lib/asm-5.0.4.jar

if [[ "$zeppelin_version" == "0.7."* && -f "$asm_3_1" && -f "$asm_5_0_4" ]]; then
rm "$asm_5_0_4"
fi
}

function configure_zeppelin(){
Expand Down