Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2652

Skip trash while deleting hive table partition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Currently, when we delete a partition in the work flow, the data persists in trash and does not get purged. This takes up namespaces.

       <pig>
                  <job-tracker>${jobTracker}</job-tracker>
                  <name-node>${oozieNameNode}</name-node>
                  <prepare>
                      <delete path="${hcat_uri}/${my_db}/${my_table}/date=${DATE}"/>
                  </prepare>
      

      Solution: User will pass on "skip-trash" option. Accordingly, Oozie will call appropriate hcat api.

      Attachments

        1. OOZIE-2652-1.patch
          7 kB
          Satish Saley

        Activity

          People

            satishsaley Satish Saley
            satishsaley Satish Saley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: