Hive
  1. Hive
  2. HIVE-6935

skipTrash option in hive command line

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jayesh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development