[
https://issues.apache.org/jira/browse/HIVE-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xuefu Zhang updated HIVE-6469:
------------------------------
Comment: was deleted
(was: ATTENTION:
The email address for the person you have sent this message to has changed from
[email protected] to [email protected].
The message was successfully delivered; however please use the new email
address in the future.
ACTION REQUIRED:
Please update your address book and send future emails to the apollo.edu email
address. Emails sent to the apollogrp.edu email address will be rejected
starting in December 2014.
)
> skipTrash option in hive command line
> -------------------------------------
>
> Key: HIVE-6469
> URL: https://issues.apache.org/jira/browse/HIVE-6469
> Project: Hive
> Issue Type: New Feature
> Components: CLI
> Affects Versions: 0.12.0
> Reporter: Jayesh
> Assignee: Jayesh
> Fix For: 0.14.0
>
> Attachments: HIVE-6469.1.patch, HIVE-6469.2.patch, HIVE-6469.3.patch,
> HIVE-6469.patch
>
>
> Th current behavior of hive metastore during a "drop table <table_name>"
> command is to delete the data from HDFS warehouse and put it into Trash.
> Currently there is no way to provide a flag to tell the warehouse to skip
> trash while deleting table data.
> This ticket is to add skipTrash configuration "hive.warehouse.data.skipTrash"
> , which when set to true, will skipTrash while dropping table data from hdfs
> warehouse. This will be set to false by default to keep current behavior.
> This would be good feature to add, so that an admin of the cluster can
> specify when not to put data into the trash directory (eg. in a dev
> environment) and thus not to fill hdfs space instead of relying on trash
> interval and policy configuration to take care of disk filling issue.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)