You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Arshad Matin (JIRA)" <ji...@apache.org> on 2015/03/25 13:43:52 UTC

[jira] [Commented] (LENS-445) when a job fails, it does not give the job id to the client

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

Arshad Matin commented on LENS-445:
-----------------------------------

I have seen, it does return the job Id
Stage-1(MAPRED):job_201412151907_0007: has failed!

In your case mapred local task wont have any ID.

> when a job fails, it does not give the job id to the client
> -----------------------------------------------------------
>
>                 Key: LENS-445
>                 URL: https://issues.apache.org/jira/browse/LENS-445
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>            Reporter: Angad Singh
>
> {noformat}
> lens-shell>query execute cube select apps_owned from user j
> Query failed with errorCode:2 with errorMessage: Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask cause:Stage-10(MAPREDLOCAL):Stage-10: has failed!
> {noformat}
> Either we should hide the underlying error completely, figure out the problem from the hive job and give the user a descriptive message of what happened OR if we cannot afford to do that, just give the job id to the client. This is half information (stage-10 failed)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)