hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayesh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6469) skipTrash option in hive command line
Date Fri, 18 Apr 2014 23:02:15 GMT

    [ https://issues.apache.org/jira/browse/HIVE-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974602#comment-13974602
] 

Jayesh commented on HIVE-6469:
------------------------------

Hi Xuefu,
This feature typically required to be used on ad-hoc basis rather than globally applied to
all drop operation.
2 of our primary customers specifically has asked for this feature. they want to use this
for dev environment users where they can specifically mention
to skip trash, but not for production environment users.

Also some people may find this useful
http://stackoverflow.com/questions/16301558/how-to-skip-trash-while-dropping-partition-from-managed-tables-using-alter-drop
http://mail-archives.apache.org/mod_mbox/hive-user/201212.mbox/%3CCAENxBwz6ngo_jvkdAg6D2uLDbgtOn=vJ9KCsgZiN0tMJB0KBfg@mail.gmail.com%3E
http://mail-archives.apache.org/mod_mbox/hive-dev/201311.mbox/%3CCAORpBshjAQwKUtRMMpKepvR49iRkj=HO9jn0L1BpY=06oACKzA@mail.gmail.com%3E


> 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
>             Fix For: 0.12.1
>
>         Attachments: HIVE-6469.patch
>
>
> hive drop table command deletes the data from HDFS warehouse and puts it into Trash.
> Currently there is no way to provide flag to tell warehouse to skip trash while deleting
table data.
> This ticket is to add skipTrash feature in hive command-line, that looks as following.

> hive -e "drop table skipTrash testTable"
> This would be good feature to add, so that user can specify when not to put data into
trash directory 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.2#6252)

Mime
View raw message