GitHub user shivaram opened a pull request:

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

    [MINOR] Only rename SparkR tar.gz if names mismatch

    ## What changes were proposed in this pull request?
    
    For release builds the R_PACKAGE_VERSION and VERSION are the same (e.g., 
2.1.0). Thus `cp` throws an error which causes the build to fail. 
    
    ## How was this patch tested?
    
    Manually by executing the following script
    ```
    set -o pipefail
    set -e
    set -x
    
    touch a
    
    R_PACKAGE_VERSION=2.1.0
    VERSION=2.1.0
    
    if [ "$R_PACKAGE_VERSION" != "$VERSION" ]; then
      cp a a
    fi
    ```

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

    $ git pull https://github.com/shivaram/spark-1 sparkr-cp-fix

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

    https://github.com/apache/spark/pull/16299.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 #16299
    
----
commit fcc8265f20caa4bfc5b4dca41f430718ef4744cc
Author: Shivaram Venkataraman <shiva...@cs.berkeley.edu>
Date:   2016-12-15T23:46:49Z

    Only rename SparkR tar.gz if names mismatch

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to