You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/08/31 13:29:45 UTC

[jira] [Updated] (LENS-445) Fetch and print the exception at hive on the lens client

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

Amareshwari Sriramadasu updated LENS-445:
-----------------------------------------
    Component/s: client
     Issue Type: Improvement  (was: Bug)
        Summary: Fetch and print the exception at hive on the lens client  (was: when a job fails, it does not give the job id to the client)

> Fetch and print the exception at hive on the lens client
> --------------------------------------------------------
>
>                 Key: LENS-445
>                 URL: https://issues.apache.org/jira/browse/LENS-445
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: client, 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)