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

Andras Salamon commented on OOZIE-2652:
---------------------------------------

I think this patch needs to be refactored, right now DELETE is definedĀ in 
[oozie-common-1.0.xsd|https://github.com/apache/oozie/blob/master/client/src/main/resources/oozie-common-1.0.xsd].
 It would give us a more general solution than the original version of the 
patch which only modified the hive xsd.

> Skip trash while deleting hive table partition
> ----------------------------------------------
>
>                 Key: OOZIE-2652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2652
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Satish Subhashrao Saley
>            Assignee: Satish Subhashrao Saley
>            Priority: Major
>         Attachments: OOZIE-2652-1.patch
>
>
> Currently, when we delete a partition in the work flow, the data persists in 
> trash and does not get purged. This takes up namespaces.
> {code}
>  <pig>
>             <job-tracker>${jobTracker}</job-tracker>
>             <name-node>${oozieNameNode}</name-node>
>             <prepare>
>                 <delete path="${hcat_uri}/${my_db}/${my_table}/date=${DATE}"/>
>             </prepare>
> {code}
> Solution: User will pass on "skip-trash" option. Accordingly, Oozie will call 
> appropriate hcat api. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to