{"id":418,"date":"2019-02-24T07:34:11","date_gmt":"2019-02-24T07:34:11","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=418"},"modified":"2020-07-10T05:19:46","modified_gmt":"2020-07-10T05:19:46","slug":"hadoop-oozie","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/","title":{"rendered":"Hadoop-Oozie"},"content":{"rendered":"<p><strong>\u2666 Prerequisites :<\/strong><\/p>\n<ol>\n<li><strong>Cloudera v4 (or above)<\/strong><\/li>\n<li><strong>Oozie-example.tar.gz<\/strong><\/li>\n<\/ol>\n<p><strong>\u2666 Open Cloudera terminal and check the oozie status.<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-419\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png\" alt=\"\" width=\"479\" height=\"48\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png 479w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7-300x30.png 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/strong><\/p>\n<p><strong>\u2666 Check Oozie Admin Mode<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-420\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/2-7.png\" alt=\"\" width=\"625\" height=\"31\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/2-7.png 625w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/2-7-300x15.png 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/strong><\/p>\n<p><strong>\u2666 Go to the Oozie examples.jar file and copy that file any where else.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-421\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/3-6.png\" alt=\"\" width=\"325\" height=\"135\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/3-6.png 325w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/3-6-300x125.png 300w\" sizes=\"auto, (max-width: 325px) 100vw, 325px\" \/><\/strong><\/p>\n<p><strong>\u2666 Untar this file<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-422\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/4-6.png\" alt=\"\" width=\"417\" height=\"235\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/4-6.png 417w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/4-6-300x169.png 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/strong><\/p>\n<p><b>\u2666 In exapmle go to the file which you where you want to schedule\u00a0the job. Like Mapreduce,Pig,Hive etc.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-423\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/5-6.png\" alt=\"\" width=\"666\" height=\"279\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/5-6.png 666w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/5-6-300x126.png 300w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/b><\/p>\n<p><strong>\u2666 Here I am Scheduling Hive Job so I will go to hive and configure workflow.xml, script.q and job.properties file according to our requirement.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-424\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/6-6.png\" alt=\"\" width=\"525\" height=\"266\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/6-6.png 525w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/6-6-300x152.png 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/strong><\/p>\n<p><strong>\u2666 First I Modify script.q file and write the hive query.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-425\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/7-6.png\" alt=\"\" width=\"634\" height=\"142\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/7-6.png 634w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/7-6-300x67.png 300w\" sizes=\"auto, (max-width: 634px) 100vw, 634px\" \/><\/strong><\/p>\n<p><strong>\u2666 Now in workflow.xml I give script.q ,input data path and output dir.<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-426\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/8-6.png\" alt=\"\" width=\"660\" height=\"95\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/8-6.png 660w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/8-6-300x43.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/strong><\/p>\n<p><strong>\u2666 In last I configure job.properties<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/9-6.png\" alt=\"\" width=\"666\" height=\"217\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/9-6.png 666w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/9-6-300x98.png 300w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/strong><\/p>\n<p><strong>\u2666 Now Put that example file in hdfs<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-428\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/10-7.png\" alt=\"\" width=\"661\" height=\"63\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/10-7.png 661w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/10-7-300x29.png 300w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/strong><\/p>\n<p><strong>\u2666 Now run the job.properties from local machine<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-429\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/11-7.png\" alt=\"\" width=\"638\" height=\"74\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/11-7.png 638w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/11-7-300x35.png 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/strong><\/p>\n<p><strong>\u2666 Go to web UI and check the running jobs<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-430\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/12-7.png\" alt=\"\" width=\"658\" height=\"229\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/12-7.png 658w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/12-7-300x104.png 300w\" sizes=\"auto, (max-width: 658px) 100vw, 658px\" \/><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2666 Prerequisites : Cloudera v4 (or above) Oozie-example.tar.gz \u2666 Open Cloudera terminal and check the oozie status. \u2666 Check Oozie Admin Mode \u2666 Go to the Oozie examples.jar file and copy that file any where else. \u2666 Untar this file \u2666 In exapmle go to the file which you where you want to schedule\u00a0the job. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-418","post","type-post","status-publish","format-standard","hentry","category-hadoop"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Apache Hadoop Oozie Tutorial for Beginners | Prwatech<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apache Hadoop Oozie Tutorial for Beginners | Prwatech\" \/>\n<meta property=\"og:description\" content=\"\u2666 Prerequisites : Cloudera v4 (or above) Oozie-example.tar.gz \u2666 Open Cloudera terminal and check the oozie status. \u2666 Check Oozie Admin Mode \u2666 Go to the Oozie examples.jar file and copy that file any where else. \u2666 Untar this file \u2666 In exapmle go to the file which you where you want to schedule\u00a0the job. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-24T07:34:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-10T05:19:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/\",\"url\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/\",\"name\":\"Apache Hadoop Oozie Tutorial for Beginners | Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png\",\"datePublished\":\"2019-02-24T07:34:11+00:00\",\"dateModified\":\"2020-07-10T05:19:46+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png\",\"width\":479,\"height\":48},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hadoop-Oozie\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apache Hadoop Oozie Tutorial for Beginners | Prwatech","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Apache Hadoop Oozie Tutorial for Beginners | Prwatech","og_description":"\u2666 Prerequisites : Cloudera v4 (or above) Oozie-example.tar.gz \u2666 Open Cloudera terminal and check the oozie status. \u2666 Check Oozie Admin Mode \u2666 Go to the Oozie examples.jar file and copy that file any where else. \u2666 Untar this file \u2666 In exapmle go to the file which you where you want to schedule\u00a0the job. [&hellip;]","og_url":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-02-24T07:34:11+00:00","article_modified_time":"2020-07-10T05:19:46+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/","url":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/","name":"Apache Hadoop Oozie Tutorial for Beginners | Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png","datePublished":"2019-02-24T07:34:11+00:00","dateModified":"2020-07-10T05:19:46+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-7.png","width":479,"height":48},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-oozie\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Hadoop-Oozie"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=418"}],"version-history":[{"count":9,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/418\/revisions"}],"predecessor-version":[{"id":4215,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/418\/revisions\/4215"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}