GitHub user Sherry302 opened a pull request:

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

    [MINOR][SQL] Use resource path for test_script.sh

    ## What changes were proposed in this pull request?
    This PR modified the test case `test("script")` to use resource path for 
`test_script.sh`. Make the test case portable (even in IntelliJ).
    
    
    ## How was this patch tested?
    Passed the test case.
    Before:
    Run `test("script")` in IntelliJ:
    ```
    Caused by: org.apache.spark.SparkException: Subprocess exited with status 
127. Error: bash: src/test/resources/test_script.sh: No such file or directory 
    ```
    After:
    Test passed.


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

    $ git pull https://github.com/Sherry302/spark hivetest

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

    https://github.com/apache/spark/pull/15246.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 #15246
    
----
commit d799eea4ca3e3ad0fc71fe49985e6bc51f197158
Author: Weiqing Yang <yangweiqing...@gmail.com>
Date:   2016-09-26T21:15:06Z

    [MINOR][SQL] Use resource path for test_script.sh

----


---
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