Skip to content

Commit

Permalink
MapR [SPARK-465] Error messages after update of spark 2.4 (apache#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrivokonmapr committed Sep 19, 2019
1 parent 9ab524f commit d486813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ function findLatestTimestamp() {
function replaceConfigFromPreviousVersion() {
findLatestTimestamp
if [ ${LATEST_SPARK_TIMESTAMP} -ne 0 ] ; then
cp "$SPARK_HOME.$LATEST_SPARK_TIMESTAMP/conf/spark-defaults.conf" "$SPARK_HOME/conf/spark-defaults.conf"
cp "$SPARK_HOME.$LATEST_SPARK_TIMESTAMP/conf/spark-env.sh" "$SPARK_HOME/conf/spark-env.sh"
cp ${SPARK_HOME}.*.${LATEST_SPARK_TIMESTAMP}/conf/spark-defaults.conf ${SPARK_HOME}/conf/spark-defaults.conf
cp ${SPARK_HOME}.*.${LATEST_SPARK_TIMESTAMP}/conf/spark-env.sh ${SPARK_HOME}/conf/spark-env.sh
fi
}

Expand Down

0 comments on commit d486813

Please sign in to comment.