[ https://issues.apache.org/jira/browse/HIVE-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974675#comment-13974675 ]
Xuefu Zhang commented on HIVE-6469: ----------------------------------- My argument is that the feature is more suitable for per env rather than per user. I don't understand the argument that a configuration property creates a nightmare for the admin. It's very normal for an admin to configure dev env differently from prod env. From what you described, i don't see why this isn't sufficient. HS2 instance supports multiple users. I'd image that you can have a HS2 instance for all dev users, and another for all prod users. What I'd like to avoid is to pollute the SQL syntax for something majority of Hive users really need. If the configuration approach isn't sufficient, I'd think that's more a problem of IT infrastructure. Nevertheless, HDFS commands are there to clean up the trash folder. > 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)