1
|
<RESOURCE_PROFILE>
|
2
|
<HEADER>
|
3
|
<RESOURCE_IDENTIFIER value="6472af0e-f2ed-4ee5-835f-de698d89a7a7_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
|
4
|
<RESOURCE_TYPE value="WorkflowDSResourceType"/>
|
5
|
<RESOURCE_KIND value="WorkflowDSResources"/>
|
6
|
<RESOURCE_URI value=""/>
|
7
|
<DATE_OF_CREATION value="2015-10-12T14:10:32+00:00"/>
|
8
|
</HEADER>
|
9
|
<BODY>
|
10
|
<WORKFLOW_NAME>Calculate enrichment Project events</WORKFLOW_NAME>
|
11
|
<WORKFLOW_TYPE>Notification Broker</WORKFLOW_TYPE>
|
12
|
<WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
|
13
|
<CONFIGURATION start="manual">
|
14
|
|
15
|
<NODE name="hadoopConfig" type="SetClusterAndTable" isStart="true">
|
16
|
<DESCRIPTION>Set table name</DESCRIPTION>
|
17
|
<PARAMETERS>
|
18
|
<PARAM required="true" type="string" name="cluster" managedBy="system">DM</PARAM>
|
19
|
<PARAM required="true" type="string" name="tableParam" managedBy="system">tableName</PARAM>
|
20
|
<PARAM required="true" type="string" name="table" managedBy="user"/>
|
21
|
</PARAMETERS>
|
22
|
<ARCS>
|
23
|
<ARC to="cleanupHDFS"/>
|
24
|
</ARCS>
|
25
|
</NODE>
|
26
|
|
27
|
<NODE name="setDedupConfigs" type="SetDedupConfiguration" isStart="true">
|
28
|
<DESCRIPTION>Set Dedup conf</DESCRIPTION>
|
29
|
<PARAMETERS>
|
30
|
<PARAM function="obtainValues('dedupOrchestrations', {})" required="true" type="string" name="dedupConfigSequence" managedBy="user"></PARAM>
|
31
|
<PARAM required="true" type="string" name="dedupConfigSequenceParam" managedBy="system">dedup.conf.queue</PARAM>
|
32
|
</PARAMETERS>
|
33
|
<ARCS>
|
34
|
<ARC to="cleanupHDFS"/>
|
35
|
</ARCS>
|
36
|
</NODE>
|
37
|
|
38
|
<NODE name="cleanupHDFS" type="DeleteHdfsPathJob" isJoin="true">
|
39
|
<DESCRIPTION>hdfs cleanup (xml)</DESCRIPTION>
|
40
|
<PARAMETERS>
|
41
|
<PARAM required="true" type="string" name="cluster" managedBy="system">DM</PARAM>
|
42
|
<PARAM required="true" type="string" name="envParams" managedBy="system">
|
43
|
{
|
44
|
'path' : 'brokerEventsPath'
|
45
|
}
|
46
|
</PARAM>
|
47
|
</PARAMETERS>
|
48
|
<ARCS>
|
49
|
<ARC to="enrichment"/>
|
50
|
</ARCS>
|
51
|
</NODE>
|
52
|
|
53
|
|
54
|
<NODE name="enrichment" type="DedupConfigurationAwareJob">
|
55
|
<DESCRIPTION>Run M/R Job</DESCRIPTION>
|
56
|
<PARAMETERS>
|
57
|
<PARAM managedBy="system" name="cluster" required="true" type="string">DM</PARAM>
|
58
|
<PARAM managedBy="system" name="hadoopJob" required="true" type="string">brokerEnrichmentProjectsJob</PARAM>
|
59
|
<PARAM required="true" type="string" name="dedupConfigSequenceParam" managedBy="system">dedup.conf.queue</PARAM>
|
60
|
<PARAM managedBy="system" name="envParams" required="false" type="string">
|
61
|
{
|
62
|
'hbase.mapred.inputtable' : 'tableName',
|
63
|
'hbase.mapreduce.inputtable' : 'tableName'
|
64
|
}
|
65
|
</PARAM>
|
66
|
</PARAMETERS>
|
67
|
<ARCS>
|
68
|
<ARC to="success"/>
|
69
|
</ARCS>
|
70
|
</NODE>
|
71
|
|
72
|
</CONFIGURATION>
|
73
|
<STATUS/>
|
74
|
</BODY>
|
75
|
</RESOURCE_PROFILE>
|