aboutsummaryrefslogtreecommitdiff
path: root/dev/scalastyle
diff options
context:
space:
mode:
authorwitgo <witgo@qq.com>2014-05-26 13:16:35 -0700
committerReynold Xin <rxin@apache.org>2014-05-26 13:16:35 -0700
commitbee6c4f4a155f625495212c17b58dc76f525f312 (patch)
tree0f113a0273f8f83b93c5d90ffe641d94883d21db /dev/scalastyle
parentd6395d86f90d1c47c5b6ad17c618b56e00b7fc85 (diff)
downloadspark-bee6c4f4a155f625495212c17b58dc76f525f312.tar.gz
spark-bee6c4f4a155f625495212c17b58dc76f525f312.tar.bz2
spark-bee6c4f4a155f625495212c17b58dc76f525f312.zip
Fix scalastyle warnings in yarn alpha
Author: witgo <witgo@qq.com> Closes #884 from witgo/scalastyle and squashes the following commits: 4b08ae4 [witgo] Fix scalastyle warnings in yarn alpha
Diffstat (limited to 'dev/scalastyle')
-rwxr-xr-xdev/scalastyle3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/scalastyle b/dev/scalastyle
index a972811ba8..0e8fd5cc8d 100755
--- a/dev/scalastyle
+++ b/dev/scalastyle
@@ -19,7 +19,8 @@
echo -e "q\n" | SPARK_HIVE=true sbt/sbt scalastyle > scalastyle.txt
# Check style with YARN alpha built too
-echo -e "q\n" | SPARK_YARN=true sbt/sbt yarn/scalastyle >> scalastyle.txt
+echo -e "q\n" | SPARK_HADOOP_VERSION=0.23.9 SPARK_YARN=true sbt/sbt yarn-alpha/scalastyle \
+ >> scalastyle.txt
# Check style with YARN built too
echo -e "q\n" | SPARK_HADOOP_VERSION=2.2.0 SPARK_YARN=true sbt/sbt yarn/scalastyle \
>> scalastyle.txt