You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/10/23 06:43:59 UTC

[jira] Resolved: (HIVE-873) Better error messages for Hive cmdline

     [ https://issues.apache.org/jira/browse/HIVE-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao resolved HIVE-873.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.5.0
     Release Note: HIVE-873. Better error messages for Hive cmdline. (Paul Yang via zshao)
     Hadoop Flags: [Reviewed]

Committed. Thanks Paul!
After some thought, I modified the code to print out a single task link for now - that's good enough for debugging purposes, and users won't get confused by too many outputs.
We can change it if needed in the future.


> Better error messages for Hive cmdline
> --------------------------------------
>
>                 Key: HIVE-873
>                 URL: https://issues.apache.org/jira/browse/HIVE-873
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Zheng Shao
>            Assignee: Paul Yang
>             Fix For: 0.5.0
>
>         Attachments: hive-873-2009-10-15.patch, HIVE-873.1.patch, HIVE-873.2.patch, HIVE-873.3.patch, HIVE-873.4.patch
>
>
> Currently, we are facing a lot of questions of Hive users because they cannot directly see what is the error causing the job to fail.
> We should expose that information to our user so that they can understand why their job failed easily.
> There are the 2 possible ways to get the error information:
> {code}
> RunningJob JobClient.submitJob();
> TaskCompletionEvent[] RunningJob.getTaskCompletionEvents()
> TaskCompletionEvent.getTaskTrackerHttp()
> {code}
> {code}
> TaskReport[] JobClient.getMapTaskReports();
> {code}
> We can edit ExecDriver.java and put that in after we submit a job.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.