aboutsummaryrefslogtreecommitdiff
path: root/dev/scalastyle
diff options
context:
space:
mode:
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