{"id":3046,"date":"2020-02-29T18:45:37","date_gmt":"2020-02-29T17:45:37","guid":{"rendered":"https:\/\/myoceane.fr\/?p=3046"},"modified":"2020-02-29T18:46:32","modified_gmt":"2020-02-29T17:46:32","slug":"oozie-continuous-delivery-with-oozie","status":"publish","type":"post","link":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/","title":{"rendered":"[Oozie] Continuous Delivery with Oozie"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n\n<p style=\"text-align: justify;\">\u5728\u5927\u6578\u64da\u7684\u5e73\u53f0\u4e0a\u958b\u767c\u5927\u6578\u64da\u61c9\u7528\u7684\u6642\u5019\uff0c\u5982\u679c\u60f3\u8981\u81ea\u52d5\u5316\u57f7\u884c\u4e0d\u540c\u7684 Spark \u8173\u672c\u7684\u8a71\uff0c\u5f88\u5e38\u6703\u4f7f\u7528 Apache Oozie \u9019\u500b\u8edf\u9ad4\uff0c\u5982\u679c\u60f3\u8981\u914d\u5408\u4e00\u4e9b Continuous Delivery \u7684\u5de5\u5177\u5982 <a href=\"https:\/\/myoceane.fr\/index.php\/cd-jenkins-%e7%9a%84-master-slave\/\">Jenkins<\/a> \u548c TeamCity \u4f86\u4f7f\u7528\u7684\u6642\u5019\uff0c\u9700\u8981\u900f\u904e Oozie \u7684 WebAPI \u4f86\u4f7f\u7528\uff0c\u6709\u5169\u7a2e\u4e3b\u8981\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u4e00\u7a2e\u662f\u5229\u7528 Shell Script \u4e0b\u9054 Curl \u7684\u6307\u4ee4\u5feb\u901f\u6e9d\u901a\uff0c\u53e6\u4e00\u7a2e\u65b9\u5f0f\u5247\u662f\u5229\u7528 Oozie \u5c08\u6848\u958b\u767c\u7684 OozieClient \u914d\u5408 groovy \u6216\u662f Java \u7684\u6307\u4ee4\u904b\u884c\u3002<\/p>\n\n\n\n<div class=\"wp-block-button aligncenter\"><a class=\"wp-block-button__link\" href=\"https:\/\/github.com\/apache\/oozie\/blob\/master\/client\/src\/main\/java\/org\/apache\/oozie\/client\/OozieClient.java\">OozieClient GitHub<\/a><\/div>\n\n\n\n<p style=\"text-align: justify;\">\u5982\u4f55\u4f7f\u7528 Curl \u8207 WebAPI \u6e9d\u901a\uff0c<a href=\"https:\/\/oozie.apache.org\/docs\/4.0.1\/WebServicesAPI.html\">\u5b98\u65b9\u7db2\u7ad9<\/a>\u6709\u8a73\u7d30\u7684\u8b1b\u89e3\u4f7f\u7528\u7684\u65b9\u6cd5\uff0c\u672c\u7bc7\u7c21\u55ae\u5217\u51fa\u5e7e\u500b\u6bd4\u8f03\u5e38\u7528\u7684\u7bc4\u4f8b\u4ecb\u7d39\u4e26\u7559\u5b58\u7d00\u9304\u3002<\/p>\n\n\n\n<h5>1. \u67e5\u8a62\u7279\u5b9a\u7684 JobInfo\uff1a<\/h5>\n<p>\u5b98\u7db2\u4e2d\u6709\u63d0\u5230\u5982\u4f55\u4f7f\u7528 filter \u4f86\u67e5\u8a62\u60f3\u8981\u77e5\u9053\u7684 JobId \u5982\u4e0b\u7684\u4f7f\u7528\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"lang:bash\">GET \/oozie\/v1\/jobs?filter=user%3Dbansalm&amp;offset=1&amp;len=50&amp;timezone=GMT<\/pre>\n<p>\u5099\u8a3b\uff1a\u4f46\u662f\u7b46\u8005\u5728\u5617\u8a66\u4f7f\u7528\u7684\u6642\u5019\uff0c\u53ea\u80fd\u5920\u91dd\u5c0d workflows \u67e5\u627e\uff0c\u4e26\u4e14\u4e00\u76f4\u51fa\u73fe\u985e\u4f3c\u4ee5\u4e0b\u7684\u56de\u50b3\u8a0a\u606f<em> {offset:1,len:50,total:0,workflows:[]}<\/em>\uff0c\u7531\u65bc\u7b46\u8005\u60f3\u8981\u91dd\u5c0dcoordinator \u67e5\u627e\uff0c\u6240\u4ee5\u6700\u5f8c\u627e\u5230\u4ee5\u4ee5\u4e0b\u7684\u65b9\u6cd5\uff0c\u672c\u65b9\u6cd5\u4e26\u6c92\u6709\u5728\u5b98\u7db2\u4e2d\u8a73\u76e1\u8aaa\u660e\uff01<\/p>\n<pre class=\"lang:bash\">curl -iku $user:$passwd -X GET \"$url\/oozie\/v1\/jobs?jobtype=coordinator&amp;filter=User%3D$user;Status%3DRUNNING;Name%3D$COORDNAME\"<\/pre>\n<p>\u5728\u57f7\u884c 1. \u7684 curl \u6307\u4ee4\u7684\u6642\u5019\uff0c\u53ef\u80fd\u6703\u5f97\u5230\u985e\u4f3c\u4ee5\u4e0b\u7684 json \u6a94\u6848\uff1a<\/p>\n<pre class=\"lang:json\">{\n  offset: 1,\n  len: 50,\n  total: 1002,\n**jobs: [\n    {\n**    jobType: \"workflow\"\n      id: \"0-200905191240-oozie-W\",\n      appName: \"indexer-workflow\",\n      appPath: \"hdfs:\/\/user\/tucu\/indexer-wf\",\n      user: \"bansalm\",\n      group: \"other\",\n      status: \"RUNNING\",\n      createdTime: \"Thu, 01 Jan 2009 00:00:00 GMT\",\n      startTime: \"Fri, 02 Jan 2009 00:00:00 GMT\",\n      endTime: null,\n      info: \"run=0\",\n    },\n    {\n**    jobType: \"coordinator\"\n      id: \"0-200905191240-oozie-C\",\n      appName: \"logprocessor-coord\",\n      appPath: \"hdfs:\/\/user\/bansalm\/myapp\/logprocessor-coord.xml\",\n      user: \"bansalm\",\n      group: \"other\",\n      status: \"RUNNING\",\n      createdTime: \"Thu, 01 Jan 2009 00:00:00 GMT\",\n      startTime: \"Fri, 02 Jan 2009 00:00:00 GMT\",\n      endTime: \"Fri, 31 Dec 2009 00:00:00 GMT\",\n      info: \"nextAction=5\",\n    },\n    {\n**    jobType: \"bindle\"\n      id: \"0-200905191240-oozie-B\",\n      appName: \"logprocessor-bundle\",\n      appPath: \"hdfs:\/\/user\/bansalm\/myapp\/logprocessor-bundle.xml\",\n      user: \"bansalm\",\n      group: \"other\",\n      status: \"RUNNING\",\n      createdTime: \"Thu, 01 Jan 2009 00:00:00 GMT\",\n      startTime: \"Fri, 02 Jan 2009 00:00:00 GMT\",\n      endTime: \"Fri, 31 Dec 2009 00:00:00 GMT\",\n    },\n    ...\n  ]\n}<\/pre>\n<h5>2. \u95dc\u9589\u4e00\u500b\u7279\u5b9a\u7684 JobId\uff1a<\/h5>\n<p>\u5728\u5df2\u77e5\u81ea\u5df1\u60f3\u8981\u95dc\u9589\u7684 workflow, coordinator \u6216\u662f bundle Id \u4e4b\u5f8c\u5c31\u53ef\u4ee5\u5229\u7528\u4ee5\u4e0b\u7684\u6307\u4ee4\u5c07\u5b83\u505c\u6b62\uff01<\/p>\n<pre class=\"lang:bash\">curl -iku $user:$passwd -X PUT \"$url\/oozie\/v1\/job\/$jobId?action=kill\"<\/pre>\n<h5>3. \u555f\u52d5\u4e00\u500b\u7279\u5b9a\u7684 Job<\/h5>\n<p style=\"text-align: justify;\">\u9996\u5148\u4f60\u8981\u5229\u7528 Xml \u4f86\u63cf\u8ff0\u4f60\u8981\u555f\u52d5\u5de5\u4f5c\u7684\u7279\u5fb5\uff0c$knoxConf \u662f\u4f60\u7684\u6a94\u6848\u4f86\u6e90\uff0c\u4ed6\u53ef\u4ee5\u662f workflow, coordinator, bundle \u7684\u4efb\u4e00\u500b\uff01<\/p>\n<pre class=\"lang:bash\">curl -iku $user:$passwd -X POST -H \"Content-Type: application\/xml\" -T $knoxConf $url\/oozie\/v1\/jobs?action=start<\/pre>\n<h5>\u4ee5\u4e0b\u63d0\u4f9b coordinator \u7684 $knoxConf \u7684\u7bc4\u4f8b\uff1a<\/h5>\n<pre class=\"lang:markup\">&lt;configuration&gt;\n    &lt;property&gt;\n        &lt;name&gt;oozie.coord.application.path&lt;\/name&gt;\n        &lt;value&gt;hdfs:\/\/...\/coordinator.xml&lt;\/value&gt;\n    &lt;\/property&gt;\n    &lt;property&gt;\n        &lt;name&gt;frequency&lt;\/name&gt;\n        &lt;value&gt;* * * * *&lt;\/value&gt;\n    &lt;\/property&gt;\n    &lt;property&gt;\n        &lt;name&gt;appRoot&lt;\/name&gt;\n        &lt;value&gt;\/...\/workflow.xml&lt;\/value&gt;\n    &lt;\/property&gt;\n&lt;\/configuration&gt;<\/pre>\n\n\n\n<p>\u5728\u4f7f\u7528 Oozie WebAPI \u4e4b\u5f8c\uff0c\u901a\u5e38\u6703\u5f97\u5230\u4e00\u500b Json \u7684 Response\uff0c\u4ee5\u4e0b\u63d0\u4f9b\u4e00\u500b\u539f\u59cb\u78bc\u4ed6\u4f7f\u7528 Shell Script \u53bb\u53d6\u5f97 Json \u5167\u7279\u5b9a\u7684 Key:Value \u5c0d\uff01<a href=\"https:\/\/gist.github.com\/cjus\/1047794\">\u9023\u7d50<\/a><\/p>\n<pre class=\"lang:bash\">#!\/bin\/bash\nfunction jsonval {\n    temp=`echo $json | sed 's\/\\\\\\\\\\\/\/\\\/\/g' | sed 's\/[{}]\/\/g' | awk -v k=\"text\" '{n=split($0,a,\",\"); for (i=1; i&lt;=n; i++) print a[i]}' | sed 's\/\\\"\\:\\\"\/\\|\/g' | sed 's\/[\\,]\/ \/g' | sed 's\/\\\"\/\/g' | grep -w $prop`\n}\n\njson=`curl -s -X GET \/oozie\/v1\/jobs?filter=user%3Dbansalm&amp;offset=1&amp;len=50&amp;timezone=GMT`\nprop='\u60f3\u8981\u53d6\u5f97\u503c\u7684 key'\npicurl=`jsonval`<\/pre>\n\n\n\n<h5>\u4f7f\u7528 OozieClient<\/h5>\n<p>\u5982\u540c\u524d\u9762\u63d0\u5230\u7684\uff0c\u5982\u679c\u60f3\u8981\u66f4\u597d\u5730\u6574\u5408\u958b\u767c\u7a0b\u5f0f\uff0c\u53e6\u5916\u4e5f\u53ef\u4ee5\u5229\u7528 OozieClient\u3002<\/p>\n\n\n\n<p>\u53c3\u8003\u8cc7\u6599\uff1a<a href=\"https:\/\/books.google.fr\/books?id=HAY_CQAAQBAJ&amp;printsec=frontcover&amp;hl=zh-TW\">Book: The Workflow Scheduler for Hadoop&nbsp;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5927\u6578\u64da\u7684\u5e73\u53f0\u4e0a\u958b\u767c\u5927\u6578\u64da\u61c9\u7528\u7684\u6642\u5019\uff0c\u5982\u679c\u60f3\u8981\u81ea\u52d5\u5316\u57f7\u884c\u4e0d\u540c\u7684 Spark \u8173\u672c\u7684\u8a71\uff0c\u5f88\u5e38\u6703\u4f7f\u7528 Apache Oozie \u9019\u500b\u8edf\u9ad4\uff0c\u5982\u679c\u60f3\u8981\u914d\u5408\u4e00\u4e9b Continuous Delivery \u7684\u5de5\u5177\u5982 Jenkins \u548c TeamCity \u4f86\u4f7f\u7528\u7684\u6642\u5019\uff0c\u9700\u8981\u900f\u904e Oozie \u7684 WebAPI \u4f86\u4f7f\u7528\uff0c\u6709\u5169\u7a2e\u4e3b\u8981\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u4e00\u7a2e\u662f\u5229\u7528 Shell Script \u4e0b\u9054 Curl \u7684\u6307\u4ee4\u5feb\u901f\u6e9d\u901a\uff0c\u53e6\u4e00\u7a2e\u65b9\u5f0f\u5247\u662f\u5229\u7528 Oozie \u5c08\u6848\u958b\u767c\u7684 OozieClient \u914d\u5408 groovy \u6216\u662f Java \u7684\u6307\u4ee4\u904b\u884c\u3002<\/p>\n","protected":false},"author":1,"featured_media":3087,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,14],"tags":[87,88,89],"class_list":["post-3046","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-continuousdelivery","category-it-technology","tag-apache-oozie","tag-continuous-delivery","tag-oozieclient"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Oozie] Continuous Delivery with Oozie - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane<\/title>\n<meta name=\"description\" content=\"\u5728\u5927\u6578\u64da\u7684\u5e73\u53f0\u4e0a\u958b\u767c\u5927\u6578\u64da\u61c9\u7528\u7684\u6642\u5019\uff0c\u5982\u679c\u60f3\u8981\u81ea\u52d5\u5316\u57f7\u884c\u4e0d\u540c\u7684 Spark \u8173\u672c\u7684\u8a71\uff0c\u5f88\u5e38\u6703\u4f7f\u7528 Apache Oozie \u9019\u500b\u8edf\u9ad4\uff0c\u5982\u679c\u60f3\u8981\u914d\u5408\u4e00\u4e9b Continuous Delivery \u7684\u5de5\u5177\u5982 Jenkins \u548c TeamCity \u4f86\u4f7f\u7528\u7684\u6642\u5019\uff0c\u9700\u8981\u900f\u904e Oozie \u7684 WebAPI \u4f86\u4f7f\u7528\uff0c\u6709\u5169\u7a2e\u4e3b\u8981\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u4e00\u7a2e\u662f\u5229\u7528 Shell Script \u4e0b\u9054 Curl \u7684\u6307\u4ee4\u5feb\u901f\u6e9d\u901a\uff0c\u53e6\u4e00\u7a2e\u65b9\u5f0f\u5247\u662f\u5229\u7528 Oozie \u5c08\u6848\u958b\u767c\u7684 OozieClient \u914d\u5408 groovy \u6216\u662f Java \u7684\u6307\u4ee4\u904b\u884c\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Oozie] Continuous Delivery with Oozie - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"og:description\" content=\"\u5728\u5927\u6578\u64da\u7684\u5e73\u53f0\u4e0a\u958b\u767c\u5927\u6578\u64da\u61c9\u7528\u7684\u6642\u5019\uff0c\u5982\u679c\u60f3\u8981\u81ea\u52d5\u5316\u57f7\u884c\u4e0d\u540c\u7684 Spark \u8173\u672c\u7684\u8a71\uff0c\u5f88\u5e38\u6703\u4f7f\u7528 Apache Oozie \u9019\u500b\u8edf\u9ad4\uff0c\u5982\u679c\u60f3\u8981\u914d\u5408\u4e00\u4e9b Continuous Delivery \u7684\u5de5\u5177\u5982 Jenkins \u548c TeamCity \u4f86\u4f7f\u7528\u7684\u6642\u5019\uff0c\u9700\u8981\u900f\u904e Oozie \u7684 WebAPI \u4f86\u4f7f\u7528\uff0c\u6709\u5169\u7a2e\u4e3b\u8981\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u4e00\u7a2e\u662f\u5229\u7528 Shell Script \u4e0b\u9054 Curl \u7684\u6307\u4ee4\u5feb\u901f\u6e9d\u901a\uff0c\u53e6\u4e00\u7a2e\u65b9\u5f0f\u5247\u662f\u5229\u7528 Oozie \u5c08\u6848\u958b\u767c\u7684 OozieClient \u914d\u5408 groovy \u6216\u662f Java \u7684\u6307\u4ee4\u904b\u884c\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/\" \/>\n<meta property=\"og:site_name\" content=\"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-29T17:45:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-29T17:46:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1178\" \/>\n\t<meta property=\"og:image:height\" content=\"282\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u6ab8\u6aac\u7238\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6ab8\u6aac\u7238\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/\"},\"author\":{\"name\":\"\u6ab8\u6aac\u7238\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"headline\":\"[Oozie] Continuous Delivery with Oozie\",\"datePublished\":\"2020-02-29T17:45:37+00:00\",\"dateModified\":\"2020-02-29T17:46:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/\"},\"wordCount\":67,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png\",\"keywords\":[\"Apache Oozie\",\"Continuous Delivery\",\"OozieClient\"],\"articleSection\":[\"ContinuousDelivery\",\"IT Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/\",\"url\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/\",\"name\":\"[Oozie] Continuous Delivery with Oozie - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png\",\"datePublished\":\"2020-02-29T17:45:37+00:00\",\"dateModified\":\"2020-02-29T17:46:32+00:00\",\"description\":\"\u5728\u5927\u6578\u64da\u7684\u5e73\u53f0\u4e0a\u958b\u767c\u5927\u6578\u64da\u61c9\u7528\u7684\u6642\u5019\uff0c\u5982\u679c\u60f3\u8981\u81ea\u52d5\u5316\u57f7\u884c\u4e0d\u540c\u7684 Spark \u8173\u672c\u7684\u8a71\uff0c\u5f88\u5e38\u6703\u4f7f\u7528 Apache Oozie \u9019\u500b\u8edf\u9ad4\uff0c\u5982\u679c\u60f3\u8981\u914d\u5408\u4e00\u4e9b Continuous Delivery \u7684\u5de5\u5177\u5982 Jenkins \u548c TeamCity \u4f86\u4f7f\u7528\u7684\u6642\u5019\uff0c\u9700\u8981\u900f\u904e Oozie \u7684 WebAPI \u4f86\u4f7f\u7528\uff0c\u6709\u5169\u7a2e\u4e3b\u8981\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u4e00\u7a2e\u662f\u5229\u7528 Shell Script \u4e0b\u9054 Curl \u7684\u6307\u4ee4\u5feb\u901f\u6e9d\u901a\uff0c\u53e6\u4e00\u7a2e\u65b9\u5f0f\u5247\u662f\u5229\u7528 Oozie \u5c08\u6848\u958b\u767c\u7684 OozieClient \u914d\u5408 groovy \u6216\u662f Java \u7684\u6307\u4ee4\u904b\u884c\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#primaryimage\",\"url\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png\",\"contentUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png\",\"width\":1178,\"height\":282},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/myoceane.fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Oozie] Continuous Delivery with Oozie\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/myoceane.fr\/#website\",\"url\":\"https:\/\/myoceane.fr\/\",\"name\":\"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a\",\"description\":\"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology\",\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/myoceane.fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\",\"name\":\"\u6ab8\u6aac\u7238\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"caption\":\"\u6ab8\u6aac\u7238\"},\"logo\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Oozie] Continuous Delivery with Oozie - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","description":"\u5728\u5927\u6578\u64da\u7684\u5e73\u53f0\u4e0a\u958b\u767c\u5927\u6578\u64da\u61c9\u7528\u7684\u6642\u5019\uff0c\u5982\u679c\u60f3\u8981\u81ea\u52d5\u5316\u57f7\u884c\u4e0d\u540c\u7684 Spark \u8173\u672c\u7684\u8a71\uff0c\u5f88\u5e38\u6703\u4f7f\u7528 Apache Oozie \u9019\u500b\u8edf\u9ad4\uff0c\u5982\u679c\u60f3\u8981\u914d\u5408\u4e00\u4e9b Continuous Delivery \u7684\u5de5\u5177\u5982 Jenkins \u548c TeamCity \u4f86\u4f7f\u7528\u7684\u6642\u5019\uff0c\u9700\u8981\u900f\u904e Oozie \u7684 WebAPI \u4f86\u4f7f\u7528\uff0c\u6709\u5169\u7a2e\u4e3b\u8981\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u4e00\u7a2e\u662f\u5229\u7528 Shell Script \u4e0b\u9054 Curl \u7684\u6307\u4ee4\u5feb\u901f\u6e9d\u901a\uff0c\u53e6\u4e00\u7a2e\u65b9\u5f0f\u5247\u662f\u5229\u7528 Oozie \u5c08\u6848\u958b\u767c\u7684 OozieClient \u914d\u5408 groovy \u6216\u662f Java \u7684\u6307\u4ee4\u904b\u884c\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/","og_locale":"en_US","og_type":"article","og_title":"[Oozie] Continuous Delivery with Oozie - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","og_description":"\u5728\u5927\u6578\u64da\u7684\u5e73\u53f0\u4e0a\u958b\u767c\u5927\u6578\u64da\u61c9\u7528\u7684\u6642\u5019\uff0c\u5982\u679c\u60f3\u8981\u81ea\u52d5\u5316\u57f7\u884c\u4e0d\u540c\u7684 Spark \u8173\u672c\u7684\u8a71\uff0c\u5f88\u5e38\u6703\u4f7f\u7528 Apache Oozie \u9019\u500b\u8edf\u9ad4\uff0c\u5982\u679c\u60f3\u8981\u914d\u5408\u4e00\u4e9b Continuous Delivery \u7684\u5de5\u5177\u5982 Jenkins \u548c TeamCity \u4f86\u4f7f\u7528\u7684\u6642\u5019\uff0c\u9700\u8981\u900f\u904e Oozie \u7684 WebAPI \u4f86\u4f7f\u7528\uff0c\u6709\u5169\u7a2e\u4e3b\u8981\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u4e00\u7a2e\u662f\u5229\u7528 Shell Script \u4e0b\u9054 Curl \u7684\u6307\u4ee4\u5feb\u901f\u6e9d\u901a\uff0c\u53e6\u4e00\u7a2e\u65b9\u5f0f\u5247\u662f\u5229\u7528 Oozie \u5c08\u6848\u958b\u767c\u7684 OozieClient \u914d\u5408 groovy \u6216\u662f Java \u7684\u6307\u4ee4\u904b\u884c\u3002","og_url":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/","og_site_name":"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","article_published_time":"2020-02-29T17:45:37+00:00","article_modified_time":"2020-02-29T17:46:32+00:00","og_image":[{"width":1178,"height":282,"url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png","type":"image\/png"}],"author":"\u6ab8\u6aac\u7238","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u6ab8\u6aac\u7238","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#article","isPartOf":{"@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/"},"author":{"name":"\u6ab8\u6aac\u7238","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"headline":"[Oozie] Continuous Delivery with Oozie","datePublished":"2020-02-29T17:45:37+00:00","dateModified":"2020-02-29T17:46:32+00:00","mainEntityOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/"},"wordCount":67,"commentCount":0,"publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png","keywords":["Apache Oozie","Continuous Delivery","OozieClient"],"articleSection":["ContinuousDelivery","IT Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/","url":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/","name":"[Oozie] Continuous Delivery with Oozie - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","isPartOf":{"@id":"https:\/\/myoceane.fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#primaryimage"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png","datePublished":"2020-02-29T17:45:37+00:00","dateModified":"2020-02-29T17:46:32+00:00","description":"\u5728\u5927\u6578\u64da\u7684\u5e73\u53f0\u4e0a\u958b\u767c\u5927\u6578\u64da\u61c9\u7528\u7684\u6642\u5019\uff0c\u5982\u679c\u60f3\u8981\u81ea\u52d5\u5316\u57f7\u884c\u4e0d\u540c\u7684 Spark \u8173\u672c\u7684\u8a71\uff0c\u5f88\u5e38\u6703\u4f7f\u7528 Apache Oozie \u9019\u500b\u8edf\u9ad4\uff0c\u5982\u679c\u60f3\u8981\u914d\u5408\u4e00\u4e9b Continuous Delivery \u7684\u5de5\u5177\u5982 Jenkins \u548c TeamCity \u4f86\u4f7f\u7528\u7684\u6642\u5019\uff0c\u9700\u8981\u900f\u904e Oozie \u7684 WebAPI \u4f86\u4f7f\u7528\uff0c\u6709\u5169\u7a2e\u4e3b\u8981\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u4e00\u7a2e\u662f\u5229\u7528 Shell Script \u4e0b\u9054 Curl \u7684\u6307\u4ee4\u5feb\u901f\u6e9d\u901a\uff0c\u53e6\u4e00\u7a2e\u65b9\u5f0f\u5247\u662f\u5229\u7528 Oozie \u5c08\u6848\u958b\u767c\u7684 OozieClient \u914d\u5408 groovy \u6216\u662f Java \u7684\u6307\u4ee4\u904b\u884c\u3002","breadcrumb":{"@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#primaryimage","url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png","contentUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2020\/02\/oozie_logo.png","width":1178,"height":282},{"@type":"BreadcrumbList","@id":"https:\/\/myoceane.fr\/index.php\/oozie-continuous-delivery-with-oozie\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/myoceane.fr\/"},{"@type":"ListItem","position":2,"name":"[Oozie] Continuous Delivery with Oozie"}]},{"@type":"WebSite","@id":"https:\/\/myoceane.fr\/#website","url":"https:\/\/myoceane.fr\/","name":"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a","description":"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology","publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/myoceane.fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b","name":"\u6ab8\u6aac\u7238","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","caption":"\u6ab8\u6aac\u7238"},"logo":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/"},"url":"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/"}]}},"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/3046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/comments?post=3046"}],"version-history":[{"count":44,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/3046\/revisions"}],"predecessor-version":[{"id":3091,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/3046\/revisions\/3091"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media\/3087"}],"wp:attachment":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media?parent=3046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/categories?post=3046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/tags?post=3046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}