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

Syed S. Albiz commented on HIVE-2156:
-------------------------------------

Based on our discussion, I am pursuing the following resolutions:
1) Populate a knowledge base-style lookup table of error code to possible 
causes, replacing the opaqure 'return code %d' with either a list of possible 
causes, or reference to some document with a knowledge-base article
2) Look at problems with HadoopJobHelper.showJobFailDebugInfo(...) which 
printed out task log URLs for specific failing tasks
3) Investigate changing how error propagation works from hadoop to hive, and 
figure out if more context can be surfaced than just an exit value.

> Improve error messages emitted during task execution
> ----------------------------------------------------
>
>                 Key: HIVE-2156
>                 URL: https://issues.apache.org/jira/browse/HIVE-2156
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Syed S. Albiz
>            Assignee: Syed S. Albiz
>
> Follow-up to HIVE-1731
> A number of issues were related to reporting errors from task execution and 
> surfacing these in a more useful form.
> Currently a cryptic message with "Execution Error" and a return code and 
> class name of the task is emitted.
> The most useful log messages here are emitted to the local logs, which can be 
> found through jobtracker. Having either a pointer to these logs as part of 
> the error message or the actual content would improve the usefulness 
> substantially. It may also warrant looking into how the underlying error 
> reporting through Hadoop is done and if more information can be propagated up 
> from there.
> Specific issues raised in  HIVE-1731:
> FAILED: Execution Error, return code 2 from 
> org.apache.hadoop.hive.ql.exec.MapRedTask
> * issue was in regexp_extract syntax
> FAILED: Execution Error, return code 1 from 
> org.apache.hadoop.hive.ql.exec.DDLTask
> * tried: desc table_does_not_exist;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to