You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by liancheng <gi...@git.apache.org> on 2014/08/30 00:13:33 UTC

[GitHub] spark pull request: [SPARK-3234][Build] Fixed environment variable...

GitHub user liancheng opened a pull request:

    https://github.com/apache/spark/pull/2208

    [SPARK-3234][Build] Fixed environment variables that rely on deprecated command line options in make-distribution.sh

    Please refer to [SPARK-3234](https://issues.apache.org/jira/browse/SPARK-3234) for details.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/liancheng/spark spark-3234

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/2208.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2208
    
----
commit fb26de8d9a7460c791f217467ab02e900c8e9188
Author: Cheng Lian <li...@gmail.com>
Date:   2014-08-29T22:09:03Z

    Fixed SPARK-3234

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-3234][Build] Fixed environment variable...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/2208#issuecomment-53936464
  
      [QA tests have started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/19499/consoleFull) for   PR 2208 at commit [`fb26de8`](https://github.com/apache/spark/commit/fb26de8d9a7460c791f217467ab02e900c8e9188).
     * This patch merges cleanly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-3234][Build] Fixed environment variable...

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2208#discussion_r16923967
  
    --- Diff: make-distribution.sh ---
    @@ -175,7 +185,7 @@ cp "$FWDIR"/examples/target/scala*/spark-examples*.jar "$DISTDIR/lib/"
     mkdir -p "$DISTDIR/examples/src/main"
     cp -r "$FWDIR"/examples/src/main "$DISTDIR/examples/src/"
     
    -if [ "$SPARK_HIVE" == "true" ]; then
    +if [ "$SPARK_HIVE" == "1" ]; then
    --- End diff --
    
    Okay I realized this is grepping only for `<id>hive</id>` so it's alright


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-3234][Build] Fixed environment variable...

Posted by liancheng <gi...@git.apache.org>.
Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/2208#issuecomment-53943616
  
    The build failure was caused by unrelated test suites.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-3234][Build] Fixed environment variable...

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2208#discussion_r16923563
  
    --- Diff: make-distribution.sh ---
    @@ -175,7 +185,7 @@ cp "$FWDIR"/examples/target/scala*/spark-examples*.jar "$DISTDIR/lib/"
     mkdir -p "$DISTDIR/examples/src/main"
     cp -r "$FWDIR"/examples/src/main "$DISTDIR/examples/src/"
     
    -if [ "$SPARK_HIVE" == "true" ]; then
    +if [ "$SPARK_HIVE" == "1" ]; then
    --- End diff --
    
    This seems a bit brittle - what if later we add a profile called `hive-extra` or something like that... will we remember to update this code. Why not check for a non-zero value?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-3234][Build] Fixed environment variable...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/2208#issuecomment-53939346
  
      [QA tests have finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/19499/consoleFull) for   PR 2208 at commit [`fb26de8`](https://github.com/apache/spark/commit/fb26de8d9a7460c791f217467ab02e900c8e9188).
     * This patch **fails** unit tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-3234][Build] Fixed environment variable...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/2208


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-3234][Build] Fixed environment variable...

Posted by liancheng <gi...@git.apache.org>.
Github user liancheng commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2208#discussion_r16923894
  
    --- Diff: make-distribution.sh ---
    @@ -175,7 +185,7 @@ cp "$FWDIR"/examples/target/scala*/spark-examples*.jar "$DISTDIR/lib/"
     mkdir -p "$DISTDIR/examples/src/main"
     cp -r "$FWDIR"/examples/src/main "$DISTDIR/examples/src/"
     
    -if [ "$SPARK_HIVE" == "true" ]; then
    +if [ "$SPARK_HIVE" == "1" ]; then
    --- End diff --
    
    We are `grep`-ing `<id>hive</id>` from output of `project.activeProfiles`, so it should be fine.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org