You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eagle.apache.org by "Zhao, Qingwen (JIRA)" <ji...@apache.org> on 2016/12/14 10:10:58 UTC
[jira] [Commented] (EAGLE-834) Add Daily Job Summery Report
[ https://issues.apache.org/jira/browse/EAGLE-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15747891#comment-15747891 ]
Zhao, Qingwen commented on EAGLE-834:
-------------------------------------
List some queries for fetching the job data
* Get job summary info groupby by job finished status
http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @endTime<=1...@currentState>{count}&pageSize=2147483647&startTime=2016-12-14 02:11:57&endTime=2016-12-14 03:11:57&treeAgg=false
* Get users order by number of failed jobs
http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @currentState="FAILED" and @endTime<=1...@user>{count}.{count desc}&pageSize=2147483647&startTime=2016-12-14 04:32:54&endTime=2016-12-14 05:32:54&treeAgg=false
* Get users order by number of succeeded jobs running over 6 hours
http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @currentState="SUCCEEDED" and @durationTime>21600000 and @endTime<=1...@user>{count}.{count desc}&pageSize=2147483647&startTime=2016-12-14 04:32:54&endTime=2016-12-14 05:32:54&treeAgg=false
* Get users order by number of total finished jobs
http://localhost:9090/rest/entities?query=JobExecutionService[@site="ares" and @endTime<=1...@user>{count}.{count desc}&pageSize=2147483647&startTime=2016-12-13 12:35:48&endTime=2016-12-14 00:35:48&treeAgg=false
> Add Daily Job Summery Report
> ----------------------------
>
> Key: EAGLE-834
> URL: https://issues.apache.org/jira/browse/EAGLE-834
> Project: Eagle
> Issue Type: New Feature
> Reporter: Zhao, Qingwen
> Assignee: Zhao, Qingwen
>
> * Extend Application framework to support application to register ManagedTask into eagle server (refer to Application HealthCheck registry approach)
> * Register a daily job report task to MRJobApplication.
> * Add configurations in application to control the behavior:
> * Daily job report enable/disable
> * Report receipt email address
> * Report frequency (24 hour by default)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)