Skip to content

Commit 27a0131

Browse files
author
Jim Dowling
committed
cleanup
1 parent ae4b6e7 commit 27a0131

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

deploy-snurran.sh

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22
set -e
33

44
if [ $# -lt 1 ] ; then
5-
echo "Usage: $0 SPARK_VERSION [test] (e.g., 2.1.0)"
5+
echo "Usage: $0 SPARK_VERSION [test] (e.g., 2.2)"
66
exit 1
77
fi
88

99
VERSION=`grep -o -a -m 1 -h -r "version>.*</version" pom.xml | head -1 | sed "s/version//g" | sed "s/>//" | sed "s/<\///g"`
1010

11-
git checkout master
12-
git fetch upstream
13-
git merge upstream/master
11+
#git checkout master
12+
#git fetch upstream
13+
#git merge upstream/master
1414

1515
SPARK_VERSION=$1
1616
echo "Livy version is: $VERSION . Spark version is: $SPARK_VERSION"
1717

18-
mvn clean -DskipTests -Pspark=$SPARK_VERSION package
18+
#mvn clean -DskipTests -Pspark-$SPARK_VERSION package
19+
mvn -DskipTests -Pspark-$SPARK_VERSION package
1920

2021
if [ $# -gt 1 ] ; then
2122
if [ "$2" == "test" ] ; then

pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@
351351
<artifactId>hadoop-hdfs</artifactId>
352352
<classifier>tests</classifier>
353353
<version>${hadoop.version}</version>
354-
<scope>test</scope>
355354
</dependency>
356355

357356
<dependency>
@@ -379,7 +378,7 @@
379378
<groupId>org.apache.hadoop</groupId>
380379
<artifactId>hadoop-yarn-server-tests</artifactId>
381380
<classifier>tests</classifier>
382-
<scope>test</scope>
381+
<scope>${hadoop.scope}</scope>
383382
<version>${hadoop.version}</version>
384383
</dependency>
385384

0 commit comments

Comments
 (0)