You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemall.apache.org by ya...@apache.org on 2017/07/05 11:38:00 UTC

incubator-hivemall git commit: Close #96: [SPARK][HOTFIX] Add mvn validate in bin/spark-shell

Repository: incubator-hivemall
Updated Branches:
  refs/heads/master 5a1e79d9d -> 69aa64b73


Close #96: [SPARK][HOTFIX] Add mvn validate in bin/spark-shell


Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/commit/69aa64b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/69aa64b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/69aa64b7

Branch: refs/heads/master
Commit: 69aa64b73e40ae6e7f2a51376404bb7fe5c60a7c
Parents: 5a1e79d
Author: Takeshi Yamamuro <ya...@apache.org>
Authored: Wed Jul 5 20:37:32 2017 +0900
Committer: Takeshi Yamamuro <ya...@apache.org>
Committed: Wed Jul 5 20:37:32 2017 +0900

----------------------------------------------------------------------
 bin/spark-shell | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/69aa64b7/bin/spark-shell
----------------------------------------------------------------------
diff --git a/bin/spark-shell b/bin/spark-shell
index 199e001..d19c67b 100755
--- a/bin/spark-shell
+++ b/bin/spark-shell
@@ -113,7 +113,7 @@ compile_hivemall() {
 
   HIVEMALL_BIN="${_DIR}/../target/hivemall-spark-${SPARK_VERSION}_${SCALA_VERSION}-${HIVEMALL_VERSION}-with-dependencies.jar"
   if [ ! -f "${HIVEMALL_BIN}" ]; then
-    install_mvn && ${MVN_BIN} -f "${_DIR}/../pom.xml" clean package -P"spark-${SPARK_VERSION}" -DskipTests
+    install_mvn && ${MVN_BIN} validate && ${MVN_BIN} -f "${_DIR}/../pom.xml" clean package -P"spark-${SPARK_VERSION}" -DskipTests
     if [ $? = 127 ]; then
       echo "Failed to compile hivemall for spark-${SPARK_VERSION}"
       exit 1