From 80bf4c379401a7d7334a746b1c5f036bc5b47926 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Tue, 15 Apr 2014 21:43:23 +0100 Subject: [PATCH] Add YARN alpha / YARN profile to scalastyle check --- dev/scalastyle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev/scalastyle b/dev/scalastyle index 19955b9aaaad3..7b572f6a8945a 100755 --- a/dev/scalastyle +++ b/dev/scalastyle @@ -18,6 +18,10 @@ # echo -e "q\n" | sbt/sbt clean scalastyle > scalastyle.txt +# Check style with YARN alpha built too +SPARK_YARN=true sbt/sbt yarn/scalastyle >> scalastyle.txt +# Check style with YARN built too +SPARK_HADOOP_VERSION=2.2.0 SPARK_YARN=true sbt/sbt yarn/scalastyle >> scalastyle.txt ERRORS=$(cat scalastyle.txt | grep -e "\") if test ! -z "$ERRORS"; then echo -e "Scalastyle checks failed at following occurrences:\n$ERRORS"