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

Amareshwari Sriramadasu updated LENS-402:
-----------------------------------------
    Description: 
Right now email notification sends error message which is the cause of the 
failure. Instead it should also contain the reason for failure which is 
captured in statusMessage.

The possible messages that could be sent over email are :
* Launching query failed
* Status update failed
* Query execution failed
* Result formatting failed
* Query has been cancelled

We have seen issues because of result formatting failed with NPE sends simply 
'null' on the email.

  was:
Right now email notification sends error message which is the cause of the 
failure. Instead it should be the reason for failure which is captured in 
statusMessage.

The possible messages that could be sent over email are :
* Launching query failed
* Status update failed
* Query execution failed
* Result formatting failed
* Query has been cancelled

We can have option to send elaborate error payload over email that user can 
choose.

        Summary: Send status message along with of errorMessage  (was: Send 
status message instead of errorMessage)

Review request at https://reviews.apache.org/r/32525

> Send status message along with of errorMessage
> ----------------------------------------------
>
>                 Key: LENS-402
>                 URL: https://issues.apache.org/jira/browse/LENS-402
>             Project: Apache Lens
>          Issue Type: Sub-task
>          Components: server
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.1
>
>
> Right now email notification sends error message which is the cause of the 
> failure. Instead it should also contain the reason for failure which is 
> captured in statusMessage.
> The possible messages that could be sent over email are :
> * Launching query failed
> * Status update failed
> * Query execution failed
> * Result formatting failed
> * Query has been cancelled
> We have seen issues because of result formatting failed with NPE sends simply 
> 'null' on the email.



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

Reply via email to