You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/05/26 22:16:39 UTC

git commit: Fix scalastyle warnings in yarn alpha

Repository: spark
Updated Branches:
  refs/heads/master d6395d86f -> bee6c4f4a


Fix scalastyle warnings in yarn alpha

Author: witgo <wi...@qq.com>

Closes #884 from witgo/scalastyle and squashes the following commits:

4b08ae4 [witgo] Fix scalastyle warnings in yarn alpha


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/bee6c4f4
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/bee6c4f4
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/bee6c4f4

Branch: refs/heads/master
Commit: bee6c4f4a155f625495212c17b58dc76f525f312
Parents: d6395d8
Author: witgo <wi...@qq.com>
Authored: Mon May 26 13:16:35 2014 -0700
Committer: Reynold Xin <rx...@apache.org>
Committed: Mon May 26 13:16:35 2014 -0700

----------------------------------------------------------------------
 dev/scalastyle | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/bee6c4f4/dev/scalastyle
----------------------------------------------------------------------
diff --git a/dev/scalastyle b/dev/scalastyle
index a972811..0e8fd5c 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