Skip to content

Instantly share code, notes, and snippets.

@pvillard31
Created December 14, 2018 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvillard31/4a0a7b33dc27c11538cec0b5e80c0324 to your computer and use it in GitHub Desktop.
Save pvillard31/4a0a7b33dc27c11538cec0b5e80c0324 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template encoding-version="1.2">
<description></description>
<groupId>2e083aef-0162-1000-80bc-8c6bbfc00ca8</groupId>
<name>oozie</name>
<snippet>
<processGroups>
<id>5a720561-d2b1-3f86-0000-000000000000</id>
<parentGroupId>16e377d4-8369-3464-0000-000000000000</parentGroupId>
<position>
<x>0.0</x>
<y>0.0</y>
</position>
<comments></comments>
<contents>
<connections>
<id>a7417aa8-fe6f-3991-0000-000000000000</id>
<parentGroupId>5a720561-d2b1-3f86-0000-000000000000</parentGroupId>
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>10000</backPressureObjectThreshold>
<destination>
<groupId>5a720561-d2b1-3f86-0000-000000000000</groupId>
<id>51fdbaa7-97aa-31e2-0000-000000000000</id>
<type>FUNNEL</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression>
<loadBalancePartitionAttribute></loadBalancePartitionAttribute>
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus>
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy>
<name></name>
<selectedRelationships>success</selectedRelationships>
<source>
<groupId>5a720561-d2b1-3f86-0000-000000000000</groupId>
<id>c2361bb8-3e69-3431-0000-000000000000</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>d9c6a7c8-6dd4-33e1-0000-000000000000</id>
<parentGroupId>5a720561-d2b1-3f86-0000-000000000000</parentGroupId>
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>10000</backPressureObjectThreshold>
<bends>
<x>1480.0568647625064</x>
<y>193.52304243841093</y>
</bends>
<destination>
<groupId>5a720561-d2b1-3f86-0000-000000000000</groupId>
<id>51fdbaa7-97aa-31e2-0000-000000000000</id>
<type>FUNNEL</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression>
<loadBalancePartitionAttribute></loadBalancePartitionAttribute>
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus>
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy>
<name></name>
<selectedRelationships>failure</selectedRelationships>
<source>
<groupId>5a720561-d2b1-3f86-0000-000000000000</groupId>
<id>c2361bb8-3e69-3431-0000-000000000000</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>dcd31176-95bf-3570-0000-000000000000</id>
<parentGroupId>5a720561-d2b1-3f86-0000-000000000000</parentGroupId>
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>10000</backPressureObjectThreshold>
<destination>
<groupId>5a720561-d2b1-3f86-0000-000000000000</groupId>
<id>c2361bb8-3e69-3431-0000-000000000000</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression>
<loadBalancePartitionAttribute></loadBalancePartitionAttribute>
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus>
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy>
<name></name>
<selectedRelationships>success</selectedRelationships>
<source>
<groupId>5a720561-d2b1-3f86-0000-000000000000</groupId>
<id>f6770ef0-4977-39b6-0000-000000000000</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<controllerServices>
<id>df4926fb-0792-3c3e-0000-000000000000</id>
<parentGroupId>5a720561-d2b1-3f86-0000-000000000000</parentGroupId>
<bundle>
<artifact>nifi-ssl-context-service-nar</artifact>
<group>org.apache.nifi</group>
<version>1.9.0-SNAPSHOT</version>
</bundle>
<comments></comments>
<descriptors>
<entry>
<key>Keystore Filename</key>
<value>
<name>Keystore Filename</name>
</value>
</entry>
<entry>
<key>Keystore Password</key>
<value>
<name>Keystore Password</name>
</value>
</entry>
<entry>
<key>key-password</key>
<value>
<name>key-password</name>
</value>
</entry>
<entry>
<key>Keystore Type</key>
<value>
<name>Keystore Type</name>
</value>
</entry>
<entry>
<key>Truststore Filename</key>
<value>
<name>Truststore Filename</name>
</value>
</entry>
<entry>
<key>Truststore Password</key>
<value>
<name>Truststore Password</name>
</value>
</entry>
<entry>
<key>Truststore Type</key>
<value>
<name>Truststore Type</name>
</value>
</entry>
<entry>
<key>SSL Protocol</key>
<value>
<name>SSL Protocol</name>
</value>
</entry>
</descriptors>
<name>StandardRestrictedSSLContextService</name>
<persistsState>false</persistsState>
<properties>
<entry>
<key>Keystore Filename</key>
</entry>
<entry>
<key>Keystore Password</key>
</entry>
<entry>
<key>key-password</key>
</entry>
<entry>
<key>Keystore Type</key>
</entry>
<entry>
<key>Truststore Filename</key>
<value>/Users/pvillard/truststore.jks</value>
</entry>
<entry>
<key>Truststore Password</key>
</entry>
<entry>
<key>Truststore Type</key>
<value>JKS</value>
</entry>
<entry>
<key>SSL Protocol</key>
<value>TLS</value>
</entry>
</properties>
<state>DISABLED</state>
<type>org.apache.nifi.ssl.StandardRestrictedSSLContextService</type>
</controllerServices>
<controllerServices>
<id>f9d866e4-6531-3335-0000-000000000000</id>
<parentGroupId>5a720561-d2b1-3f86-0000-000000000000</parentGroupId>
<bundle>
<artifact>nifi-kerberos-credentials-service-nar</artifact>
<group>org.apache.nifi</group>
<version>1.9.0-SNAPSHOT</version>
</bundle>
<comments></comments>
<descriptors>
<entry>
<key>Kerberos Keytab</key>
<value>
<name>Kerberos Keytab</name>
</value>
</entry>
<entry>
<key>Kerberos Principal</key>
<value>
<name>Kerberos Principal</name>
</value>
</entry>
</descriptors>
<name>KeytabCredentialsService</name>
<persistsState>false</persistsState>
<properties>
<entry>
<key>Kerberos Keytab</key>
<value>/Users/pvillard/oozie.service.keytab</value>
</entry>
<entry>
<key>Kerberos Principal</key>
<value>oozie/oozie-server@EXAMPLE.ORG</value>
</entry>
</properties>
<state>DISABLED</state>
<type>org.apache.nifi.kerberos.KeytabCredentialsService</type>
</controllerServices>
<funnels>
<id>51fdbaa7-97aa-31e2-0000-000000000000</id>
<parentGroupId>5a720561-d2b1-3f86-0000-000000000000</parentGroupId>
<position>
<x>1455.5568647625064</x>
<y>323.5230424384109</y>
</position>
</funnels>
<processors>
<id>c2361bb8-3e69-3431-0000-000000000000</id>
<parentGroupId>5a720561-d2b1-3f86-0000-000000000000</parentGroupId>
<position>
<x>971.5568647625065</x>
<y>80.5230424384109</y>
</position>
<bundle>
<artifact>nifi-oozie-nar</artifact>
<group>org.apache.nifi</group>
<version>1.9.0-SNAPSHOT</version>
</bundle>
<config>
<bulletinLevel>WARN</bulletinLevel>
<comments></comments>
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount>
<descriptors>
<entry>
<key>oozie-url</key>
<value>
<name>oozie-url</name>
</value>
</entry>
<entry>
<key>oozie-app-path</key>
<value>
<name>oozie-app-path</name>
</value>
</entry>
<entry>
<key>oozie-prop-regex</key>
<value>
<name>oozie-prop-regex</name>
</value>
</entry>
<entry>
<key>kerberos-credentials-service</key>
<value>
<identifiesControllerService>org.apache.nifi.kerberos.KerberosCredentialsService</identifiesControllerService>
<name>kerberos-credentials-service</name>
</value>
</entry>
<entry>
<key>ssl-context-service</key>
<value>
<identifiesControllerService>org.apache.nifi.ssl.RestrictedSSLContextService</identifiesControllerService>
<name>ssl-context-service</name>
</value>
</entry>
<entry>
<key>jobTracker</key>
<value>
<name>jobTracker</name>
</value>
</entry>
<entry>
<key>nameNode</key>
<value>
<name>nameNode</name>
</value>
</entry>
</descriptors>
<executionNode>ALL</executionNode>
<lossTolerant>false</lossTolerant>
<penaltyDuration>30 sec</penaltyDuration>
<properties>
<entry>
<key>oozie-url</key>
<value>https://oozie-server:11443/oozie</value>
</entry>
<entry>
<key>oozie-app-path</key>
<value>/user/oozie/test</value>
</entry>
<entry>
<key>oozie-prop-regex</key>
<value>(queueName|examplesRoot)</value>
</entry>
<entry>
<key>kerberos-credentials-service</key>
<value>f9d866e4-6531-3335-0000-000000000000</value>
</entry>
<entry>
<key>ssl-context-service</key>
<value>df4926fb-0792-3c3e-0000-000000000000</value>
</entry>
<entry>
<key>jobTracker</key>
<value>oozie-server</value>
</entry>
<entry>
<key>nameNode</key>
<value>hdfs://dev02</value>
</entry>
</properties>
<runDurationMillis>0</runDurationMillis>
<schedulingPeriod>0 sec</schedulingPeriod>
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
<yieldDuration>1 sec</yieldDuration>
</config>
<executionNodeRestricted>false</executionNodeRestricted>
<name>SubmitOozieWorkflow</name>
<relationships>
<autoTerminate>false</autoTerminate>
<name>failure</name>
</relationships>
<relationships>
<autoTerminate>false</autoTerminate>
<name>success</name>
</relationships>
<state>STOPPED</state>
<style/>
<type>org.apache.nifi.processors.oozie.SubmitOozieWorkflow</type>
</processors>
<processors>
<id>f6770ef0-4977-39b6-0000-000000000000</id>
<parentGroupId>5a720561-d2b1-3f86-0000-000000000000</parentGroupId>
<position>
<x>637.5568647625065</x>
<y>-132.4769575615891</y>
</position>
<bundle>
<artifact>nifi-standard-nar</artifact>
<group>org.apache.nifi</group>
<version>1.9.0-SNAPSHOT</version>
</bundle>
<config>
<bulletinLevel>WARN</bulletinLevel>
<comments></comments>
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount>
<descriptors>
<entry>
<key>File Size</key>
<value>
<name>File Size</name>
</value>
</entry>
<entry>
<key>Batch Size</key>
<value>
<name>Batch Size</name>
</value>
</entry>
<entry>
<key>Data Format</key>
<value>
<name>Data Format</name>
</value>
</entry>
<entry>
<key>Unique FlowFiles</key>
<value>
<name>Unique FlowFiles</name>
</value>
</entry>
<entry>
<key>generate-ff-custom-text</key>
<value>
<name>generate-ff-custom-text</name>
</value>
</entry>
<entry>
<key>character-set</key>
<value>
<name>character-set</name>
</value>
</entry>
<entry>
<key>examplesRoot</key>
<value>
<name>examplesRoot</name>
</value>
</entry>
<entry>
<key>queueName</key>
<value>
<name>queueName</name>
</value>
</entry>
</descriptors>
<executionNode>ALL</executionNode>
<lossTolerant>false</lossTolerant>
<penaltyDuration>30 sec</penaltyDuration>
<properties>
<entry>
<key>File Size</key>
<value>0B</value>
</entry>
<entry>
<key>Batch Size</key>
<value>1</value>
</entry>
<entry>
<key>Data Format</key>
<value>Text</value>
</entry>
<entry>
<key>Unique FlowFiles</key>
<value>false</value>
</entry>
<entry>
<key>generate-ff-custom-text</key>
</entry>
<entry>
<key>character-set</key>
<value>UTF-8</value>
</entry>
<entry>
<key>examplesRoot</key>
<value>examples</value>
</entry>
<entry>
<key>queueName</key>
<value>default</value>
</entry>
</properties>
<runDurationMillis>0</runDurationMillis>
<schedulingPeriod>10 sec</schedulingPeriod>
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
<yieldDuration>1 sec</yieldDuration>
</config>
<executionNodeRestricted>false</executionNodeRestricted>
<name>GenerateFlowFile</name>
<relationships>
<autoTerminate>false</autoTerminate>
<name>success</name>
</relationships>
<state>STOPPED</state>
<style/>
<type>org.apache.nifi.processors.standard.GenerateFlowFile</type>
</processors>
</contents>
<name>Oozie</name>
<variables/>
</processGroups>
</snippet>
<timestamp>12/14/2018 11:11:28 CET</timestamp>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment