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

Angad Singh commented on LENS-445:
----------------------------------

This is happening when there is a serde/input format level exception in 
HiveServer2. Can we fetch and print the exception at the lens client?

> 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)

Reply via email to