hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6469) skipTrash option in hive command line
Date Mon, 28 Apr 2014 05:57:15 GMT

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

Lefty Leverenz commented on HIVE-6469:
--------------------------------------

What user doc does this need, besides adding *hive.warehouse.data.skipTrash* to the Configuration
Properties wikidoc?  If it's just an administrative config, it could be mentioned in the Admin
Manual's section on Configuration Variables (link below).  But if it's also for users, it
should be mentioned in the DDL doc's Drop Table section, which includes this sentence and
further discussion:  "The data is actually moved to the .Trash/Current directory if Trash
is configured."

* [Admin Manual -- Configuration Variables |https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration#AdminManualConfiguration-ConfigurationVariables]
* [Language Manual -- DDL -- Drop Table |https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-DropTable]

> 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
>
>
> 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