From 4b08ae4a2d5a807daf5a541d5ec4c0ff796204d7 Mon Sep 17 00:00:00 2001 From: witgo Date: Tue, 27 May 2014 00:11:32 +0800 Subject: [PATCH] Fix scalastyle warnings in yarn alpha --- dev/scalastyle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/scalastyle b/dev/scalastyle index a972811ba8ed6..0e8fd5cc8d64c 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