Skip to content

Instantly share code, notes, and snippets.

Lee moon soo Leemoonsoo

Block or report user

Report or block Leemoonsoo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Leemoonsoo /
Created Jul 16, 2015
Zeppelin merge pr for testing
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
Leemoonsoo / gist:d3b255c0d3f66cb934d5
Created Jun 23, 2015
Read spark default in Apache Zeppelin. place this scripts inside of your conf/
View gist:d3b255c0d3f66cb934d5
function readSparkConf() {
echo "Reading ${SPARK_CONF_PATH}"
while read line; do
echo "${line}" | grep -e "^spark[.]" > /dev/null
if [ $? -ne 0 ]; then
# skip the line not started with 'spark.'
SPARK_CONF_KEY=`echo "${line}" | sed -e 's/\(^spark[^ ]*\)[ \t]*\(.*\)/\1/g'`
You can’t perform that action at this time.