You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Puneet Gupta (JIRA)" <ji...@apache.org> on 2016/07/25 01:59:20 UTC
[jira] [Comment Edited] (LENS-1227) Support HTTP notification for
query STATE changes
[ https://issues.apache.org/jira/browse/LENS-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15389413#comment-15389413 ]
Puneet Gupta edited comment on LENS-1227 at 7/25/16 1:58 AM:
-------------------------------------------------------------
lens.server.query.http.notifictaion.urls = comma separated urls
All notifictions will have user, query_id (and query name if any). Apart from this deault info will be shared for each STATE .
Extra info can be requested too
**lens.query.http.notication.types = (QUEUED,RUNNING,*FINIHSED)
**lens.query.http.notication.type.finished.info = (*STATUS,RESULT,TOTALRUNTIME,TOTALWAIT,etc)
**lens.query.http.notication.type.queued.info = (*QUEUENUMBER,PRIORITY,etc)
**lens.query.http.notication.type.running.info = (TOTALWAIT,etc)
**lens.query.http.notifictaion.retries = 2 (Default is 0)
**= not mandatory
*= Default option
was (Author: puneet884):
lens.server.query.http.notifictaion.urls = comma separated urls
All notifictions will have user, query_id (and query name if any). Apart from this deault info will be shared for each STATE .
Extra info can be requested too
**lens.server.query.http.notication.types = (QUEUED,RUNNING,*FINIHSED)
**lens.server.query.http.notication.type.finished.info = (*STATUS,RESULT,TOTALRUNTIME,TOTALWAIT,etc)
**lens.server.query.http.notication.type.queued.info = (*QUEUENUMBER,PRIORITY,etc)
**lens.server.query.http.notication.type.running.info = (TOTALWAIT,etc)
**lens.server.query.http.notifictaion.retries = 2 (Default is 0)
**= not mandatory
*= Default option
> Support HTTP notification for query STATE changes
> -------------------------------------------------
>
> Key: LENS-1227
> URL: https://issues.apache.org/jira/browse/LENS-1227
> Project: Apache Lens
> Issue Type: New Feature
> Reporter: Puneet Gupta
> Assignee: Puneet Gupta
>
> 1. HTTP notofication for different stages of query execution
> -- QUEUED
> -- RUNNING
> -- FINISHED
> 2. Support default info for each state
> 3. Suppoort extra info for each state
> 4. Support retries
> 5. Support enabling notification by defult for a driver type and state (say for hive queries since they take longer and all STATE updates would be nice)
> 6. Support progress updates in RUNNING state (esp. useful for loing running queries). This will make sense only when progress number is accurate.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)