GitHub user hseagle opened a pull request:

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

    spark-7300 remove temporary directories after the file is inserted into 
hive table

    While using the *insertInto* api provided in DataFrame, it'll finally call 
the _loadTable_ or _loadPartition_ provided by Hive. Those two APIs have one 
side effect. They will not delete the generated temporary directories 
automatically. 
    
    In order to release the burden of HDFS NameNode, such directories should be 
removed in the end.
    
    please refer to 
[spark-7300](https://issues.apache.org/jira/browse/SPARK-7300)
    


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

    $ git pull https://github.com/hseagle/spark spark-7300

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

    https://github.com/apache/spark/pull/5834.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 #5834
    
----
commit 32389107c17ccd84a62912230daec61c8b058f99
Author: 许鹏 <[email protected]>
Date:   2015-05-01T09:02:15Z

    remove temporary directories after the file is inserted into hive table

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to