Project

General

Profile

1
<RESOURCE_PROFILE>
2
    <HEADER>
3
        <RESOURCE_IDENTIFIER value="b8e1afcf-e5ca-47d0-9ee8-47da90e1a9c3_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
4
        <RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
5
        <RESOURCE_KIND value="WorkflowTemplateDSResources"/>
6
        <RESOURCE_URI value=""/>
7
        <DATE_OF_CREATION value="2020-02-14T12:27:20+01:00"/>
8
    </HEADER>
9
    <BODY>
10
        <CONFIGURATION>
11
            <PARAMETERS>
12
                <PARAM description="HDFS path" name="sourcePath" required="true" type="string"/>
13
                <PARAM description="HDFS path" name="targetPath" required="true" type="string"/>
14
                <PARAM description="HDFS path" name="entity" required="true" type="string"/>
15
                <PARAM description="Hadoop cluster name" name="cluster" required="true" type="string"/>
16
                <PARAM description="Dedup Configuration" name="dedup_conf" required="true" type="string"/>
17
            </PARAMETERS>
18
            <WORKFLOW>
19
                <NODE isStart="true" name="findDedupConfiguration" type="FindDedupConfiguration">
20
                    <DESCRIPTION>Find Dedup configuration</DESCRIPTION>
21
                    <PARAMETERS>
22
                        <PARAM name="configName" ref="dedup_conf"/>
23
                    </PARAMETERS>
24
                    <ARCS>
25
                        <ARC to="dedupPublication"/>
26
                    </ARCS>
27
                </NODE>
28

    
29

    
30
                <NODE name="dedupPublication" type="SubmitHadoopJob">
31
                    <DESCRIPTION>Run M/R import Job</DESCRIPTION>
32
                    <PARAMETERS>
33
                        <PARAM name="cluster" ref="cluster"/>
34
                        <PARAM name="hadoopJob" value="executeOozieJobGARR"/>
35
                        <PARAM name="jobParams">
36
                            <MAP>
37
                                <ENTRY key="oozie.wf.application.path" value="/user/sandro.labruzzo/dedup/oozie_app"/>
38
                                <ENTRY key="sourcePath" ref="sourcePath"/>
39
                                <ENTRY key="targetPath"  ref="targetPath"/>
40
                                <ENTRY key="entity" ref="entity"/>
41
                                <ENTRY key="dedupConf" env="dconf"/>
42
                            </MAP>
43
                        </PARAM>
44
                    </PARAMETERS>
45
                    <ARCS>
46
                        <ARC to="success"/>
47
                    </ARCS>
48
                </NODE>
49
            </WORKFLOW>
50
        </CONFIGURATION>
51
    </BODY>
52
</RESOURCE_PROFILE>
(3-3/10)