hive-dev mailing list archives

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

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

Edward Capriolo commented on HIVE-6469:
---------------------------------------

If a user is willing to commit an optional syntax that does not cause a language ambiguity
I think we should allow the user to add the feature.

Rational : currently dfs -rm allows an optional --skip trash.  Normal users are able to control
if a delete skips trash or not, regardless of how admins set the trash feature.

A natual extension is to extend this functionality to drop table.



> 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