Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-9116

[hive] Check if destination empty before export data to hdfs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.7.0
    • Component/s: con.hive
    • Labels:
      None

      Description

      Steps to reproduce:

      • Go to Hive query editor
      • Run "select * from sample_07"
      • Choose from the download options export to HDFS.
      • Choose option "All" but not "limit 100000" and enter a path like /user/hive/warehouse/customers
      • Check /user/hive/warehouse/customers and see that the directory was purged and replaced with only data from sample_07.

      Fix: When a user try to export query result to a non-empty directory, it will give a warning message "the destination is not an empty directory!"

        Attachments

          Activity

            People

            • Assignee:
              yingc Ying Chen
              Reporter:
              yingc Ying Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: