You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by tilumi <gi...@git.apache.org> on 2016/06/22 01:41:15 UTC

[GitHub] spark pull request #13833: [SPARK-16124][SQL] fix `getHiveFile` return file ...

GitHub user tilumi opened a pull request:

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

    [SPARK-16124][SQL] fix `getHiveFile` return file url in jar that cannot be load in SQL

    ## What changes were proposed in this pull request?
    
    I create a temp file from output stream of the file in jar and return that file
    
    
    ## How was this patch tested?
    
    manual tests
    


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

    $ git pull https://github.com/tilumi/spark fix_spark_16124

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

    https://github.com/apache/spark/pull/13833.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 #13833
    
----
commit ac8e29d590d9a4530540247393c1f36fb918924f
Author: Lucas Yang <lu...@yahoo-inc.com>
Date:   2016-06-21T08:03:57Z

    fix getHiveFile retun file url in jar that cannot be load in SQL

----


---
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 issue #13833: [SPARK-16124][SQL] fix `getHiveFile` return file url in ...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/13833
  
    +1 for closing.


---
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 #13833: [SPARK-16124][SQL] fix `getHiveFile` return file ...

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

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


---
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 issue #13833: [SPARK-16124][SQL] fix `getHiveFile` return file url in ...

Posted by gatorsmile <gi...@git.apache.org>.
Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/13833
  
    Thanks for working on it. This does not sound an issue to Spark SQL users. Cloud we close this PR now?


---
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 issue #13833: [SPARK-16124][SQL] fix `getHiveFile` return file url in ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13833
  
    Can one of the admins verify this patch?


---
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 #13833: [SPARK-16124][SQL] fix `getHiveFile` return file ...

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

    https://github.com/apache/spark/pull/13833#discussion_r118067341
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/test/TestHive.scala ---
    @@ -180,7 +181,12 @@ private[hive] class TestHiveSparkSession(
       ShutdownHookManager.registerShutdownDeleteDir(hiveFilesTemp)
     
       def getHiveFile(path: String): File = {
    --- End diff --
    
    `TestHive` is only used for our unit testing. 


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