File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
set -e
3
3
4
4
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 )"
6
6
exit 1
7
7
fi
8
8
9
9
VERSION=` grep -o -a -m 1 -h -r " version>.*</version" pom.xml | head -1 | sed " s/version//g" | sed " s/>//" | sed " s/<\///g" `
10
10
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
14
14
15
15
SPARK_VERSION=$1
16
16
echo " Livy version is: $VERSION . Spark version is: $SPARK_VERSION "
17
17
18
- mvn clean -DskipTests -Pspark=$SPARK_VERSION package
18
+ # mvn clean -DskipTests -Pspark-$SPARK_VERSION package
19
+ mvn -DskipTests -Pspark-$SPARK_VERSION package
19
20
20
21
if [ $# -gt 1 ] ; then
21
22
if [ " $2 " == " test" ] ; then
Original file line number Diff line number Diff line change 351
351
<artifactId >hadoop-hdfs</artifactId >
352
352
<classifier >tests</classifier >
353
353
<version >${hadoop.version} </version >
354
- <scope >test</scope >
355
354
</dependency >
356
355
357
356
<dependency >
379
378
<groupId >org.apache.hadoop</groupId >
380
379
<artifactId >hadoop-yarn-server-tests</artifactId >
381
380
<classifier >tests</classifier >
382
- <scope >test </scope >
381
+ <scope >${hadoop.scope} </scope >
383
382
<version >${hadoop.version} </version >
384
383
</dependency >
385
384
You can’t perform that action at this time.
0 commit comments