Github user merlintang commented on the issue:
https://github.com/apache/spark/pull/15819
do you exit the spark shell ? I have tested on this, and this staging file
would be removed after we exit the spark shell under spark 2.0.x.
meanwhile, the staging file are used for hive to write data, and if one
hive insert data fail in the middle, the staging file could be used.
On Tue, Dec 6, 2016 at 5:09 PM, lichenglin <[email protected]> wrote:
> here is some result for du -h --max-depth=1 .
> 3.3G ./.hive-staging_hive_2016-12-06_18-17-48_899_1400956608265117052-5
> 13G ./.hive-staging_hive_2016-12-06_15-43-35_928_6647980494630196053-5
> 8.6G ./.hive-staging_hive_2016-12-06_17-05-51_951_8422682528744006964-5
> 9.7G ./.hive-staging_hive_2016-12-06_17-14-44_748_6947381677226271245-5
> 9.2G ./day=2016-12-01
> 8.5G ./day=2016-11-19
>
> I run a sql like insert overwrite db.table partition(day='2016-12-06')
> select * from tmpview everyday
> each sql create a "hive-staging folder".
>
> Can I delete the folders manually??
>
> â
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/spark/pull/15819#issuecomment-265324884>, or
mute
> the thread
>
<https://github.com/notifications/unsubscribe-auth/ABXY-cCebx3piETzStocxtvovCRPX6Ukks5rFgdYgaJpZM4KtFSt>
> .
>
---
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]