1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<RESOURCE_PROFILE>
|
3
|
<HEADER>
|
4
|
<RESOURCE_IDENTIFIER
|
5
|
value="cbfb388a-c184-4a88-be66-0f1d3bb61fe5_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
|
6
|
<RESOURCE_TYPE value="WorkflowDSResourceType"/>
|
7
|
<RESOURCE_KIND value="WorkflowDSResources"/>
|
8
|
<RESOURCE_URI value=""/>
|
9
|
<DATE_OF_CREATION value="2006-05-04T18:13:51.0Z"/>
|
10
|
</HEADER>
|
11
|
<BODY>
|
12
|
<WORKFLOW_NAME>Actions from HDFS</WORKFLOW_NAME>
|
13
|
<WORKFLOW_TYPE>Data Load</WORKFLOW_TYPE>
|
14
|
<WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
|
15
|
<CONFIGURATION start="manual">
|
16
|
<NODE name="hadoopConfig" type="SetClusterAndTable" isStart="true">
|
17
|
<DESCRIPTION>Set table name</DESCRIPTION>
|
18
|
<PARAMETERS>
|
19
|
<PARAM required="true" type="string" name="cluster" managedBy="system">DM</PARAM>
|
20
|
<PARAM required="true" type="string" name="tableParam" managedBy="system">tableName</PARAM>
|
21
|
<PARAM required="true" type="string" name="table" managedBy="user"></PARAM>
|
22
|
</PARAMETERS>
|
23
|
<ARCS>
|
24
|
<ARC to="importMapreduce"/>
|
25
|
</ARCS>
|
26
|
</NODE>
|
27
|
<NODE name="setActionsPath" type="SetEnvParameter" isStart="true">
|
28
|
<DESCRIPTION>Set the sequence file path on HDFS holding the exported Actions</DESCRIPTION>
|
29
|
<PARAMETERS>
|
30
|
<PARAM managedBy="system" name="parameterName" required="true" type="string">actionsPath</PARAM>
|
31
|
<PARAM managedBy="user" name="parameterValue" required="true" type="string">/tmp/2016-03-25_iis_preprocessing/document_referencedDatasets/rawset_76cfeefd-1139-4a30-a394-f01bf67220bf_1458652954774</PARAM>
|
32
|
</PARAMETERS>
|
33
|
<ARCS>
|
34
|
<ARC to="importMapreduce"/>
|
35
|
</ARCS>
|
36
|
</NODE>
|
37
|
|
38
|
<NODE name="importMapreduce" type="SubmitHadoopJob" isJoin="true">
|
39
|
<DESCRIPTION>Run M/R import Job</DESCRIPTION>
|
40
|
<PARAMETERS>
|
41
|
<PARAM required="true" type="string" name="hadoopJob" managedBy="system">actionsImportJob</PARAM>
|
42
|
<PARAM required="true" type="string" name="envParams" managedBy="system">
|
43
|
{
|
44
|
'cluster' : 'cluster',
|
45
|
'mapred.input.dir' : 'actionsPath',
|
46
|
'hbase.mapred.outputtable' : 'tableName'
|
47
|
}
|
48
|
</PARAM>
|
49
|
<PARAM required="true" type="boolean" name="simulation" managedBy="user">false</PARAM>
|
50
|
</PARAMETERS>
|
51
|
<ARCS>
|
52
|
<ARC to="success"/>
|
53
|
</ARCS>
|
54
|
</NODE>
|
55
|
|
56
|
</CONFIGURATION>
|
57
|
<STATUS/>
|
58
|
</BODY>
|
59
|
</RESOURCE_PROFILE>
|
60
|
|
61
|
|