Created 01-05-2017 03:01 PM
Created 01-05-2017 05:32 PM
Oozie stores workflow definitions in a backend DB as blobs, it would be complex to fetch it from DB directly. Best way is to use Oozie command line.
Please refer below link for more details about Oozie CLI
https://oozie.apache.org/docs/3.1.3-incubating/DG_CommandLineTool.html
OR if you are interested in Oozie REST API then here is the doc
https://oozie.apache.org/docs/4.0.0/WebServicesAPI.html
Hope this information helps! Please revert if you need any other details about Oozie! 🙂
Created 01-05-2017 05:32 PM
Oozie stores workflow definitions in a backend DB as blobs, it would be complex to fetch it from DB directly. Best way is to use Oozie command line.
Please refer below link for more details about Oozie CLI
https://oozie.apache.org/docs/3.1.3-incubating/DG_CommandLineTool.html
OR if you are interested in Oozie REST API then here is the doc
https://oozie.apache.org/docs/4.0.0/WebServicesAPI.html
Hope this information helps! Please revert if you need any other details about Oozie! 🙂
Created 01-06-2017 03:58 PM
Created 01-08-2017 02:07 PM
Below is one example of oozie command line to get status of all the SUCCEEDED jobs
Note - You can redirect this output to some file and get the time conversion done --> get the resulted job IDs and put it in Hive/Hbase as per your requirement.
Hope this helps!
[root@prodnode1 ~]# oozie jobs -oozie http://prodnode2:11000/oozie -len 1000000 -filter status=SUCCEEDED Job ID App Name Status User Group Started Ended ------------------------------------------------------------------------------------------------------------------------------------ 0000007-161206152234228-oozie-oozi-W FALCON_FEED_RETENTION_hdfsreplication1SUCCEEDED falcon - 2016-12-14 07:28 GMT 2016-12-14 07:28 GMT ------------------------------------------------------------------------------------------------------------------------------------ 0000006-161206152234228-oozie-oozi-W FALCON_FEED_RETENTION_hdfsreplication1SUCCEEDED falcon - 2016-12-13 07:28 GMT 2016-12-13 07:28 GMT ------------------------------------------------------------------------------------------------------------------------------------ 0000005-161206152234228-oozie-oozi-W FALCON_FEED_RETENTION_hdfsreplication1SUCCEEDED falcon - 2016-12-12 07:28 GMT 2016-12-12 07:28 GMT ------------------------------------------------------------------------------------------------------------------------------------ 0000004-161206152234228-oozie-oozi-W FALCON_FEED_RETENTION_hdfsreplication1SUCCEEDED falcon - 2016-12-11 07:28 GMT 2016-12-11 07:28 GMT ------------------------------------------------------------------------------------------------------------------------------------ 0000003-161206152234228-oozie-oozi-W FALCON_FEED_RETENTION_hdfsreplication1SUCCEEDED falcon - 2016-12-10 07:28 GMT 2016-12-10 07:28 GMT ----------------------------------------------------------------------------------------- ... [Output truncated] 0000003-160926083516131-oozie-oozi-W FALCON_FEED_RETENTION_hdfsreplicationSUCCEEDED falcon - 2016-10-08 05:55 GMT 2016-10-08 07:27 GMT ------------------------------------------------------------------------------------------------------------------------------------ [root@prodnode1 ~]#
Created 01-09-2017 04:18 PM
Thank you @Kuldeep Kulkarni
Created 01-09-2017 04:54 PM
@Sankar T - Can you please accept my answer if it helped!
Created 01-08-2017 02:08 PM
@Sankar T - Please mark my answer as accepted if this has helped you 🙂