hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (JIRA)" <>
Subject [jira] [Commented] (HIVE-2346) Add hooks to run when execution fails.
Date Thu, 04 Aug 2011 19:08:29 GMT

] commented on HIVE-2346:

This is an automatically generated e-mail. To reply, visit:

Review request for hive and Ning Zhang.


I added a new type of hook, which will be run when a job fails.

This addresses bug HIVE-2346.


  trunk/common/src/java/org/apache/hadoop/hive/conf/ 1153966 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/ 1153966 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/ 1153966 



I ran the TestCliDriver and TestNegativeCliDriver test suites and verified they passed.

In addition, I created a sample hook, which simply logged that it was run.  I verified it
was run on a failure, but not when a job succeeded.



> Add hooks to run when execution fails.
> --------------------------------------
>                 Key: HIVE-2346
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-2346.1.patch.txt
> Currently, when a query fails, the Post Execution Hooks are not run.
> Adding hooks to be run when a query fails could allow for better logging etc.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message