oozie 筆記Workflow Notifications

可以配置 URL ,通過Http GET 獲取job的通知

作業start end,狀態改變都會創建一個通知,同夥URL 可獲取

oozie.wf.workflow.notification.proxy可用來配置爲通知爲http,或者socket proxy

    格式proxyHostname:port or proxyType@proxyHostname:port

    默認使用http

proxyType@proxyHostname:port. If proxy type is not specified, it defaults to http. For eg: myhttpproxyhost.mydomain.com:80 or [email protected]:1080.

If the URL contains any of the following tokens, they will be replaced with the actual values by Oozie before making the notification:

  • $jobId : The workflow job ID
  • $status : the workflow current state

Workflow Application Deployment

applications目錄

- /workflow.xml    - /config-default.xml    |    - /lib/ (*.jar;*.so)

lib下的jar或者文件會被自動添加到pig或map-reduce的 CLASS_PATH LD_PATH中

未在lib下的必須使用file標籤

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章