1
|
<RESOURCE_PROFILE>
|
2
|
<HEADER>
|
3
|
<RESOURCE_IDENTIFIER value="e92d2f81-ea98-4732-a306-07da87f35033_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
|
4
|
<RESOURCE_TYPE value="WorkflowDSResourceType"/>
|
5
|
<RESOURCE_KIND value="WorkflowDSResources"/>
|
6
|
<RESOURCE_URI value=""/>
|
7
|
<DATE_OF_CREATION value="2006-05-04T18:13:51.0Z"/>
|
8
|
</HEADER>
|
9
|
<BODY>
|
10
|
<WORKFLOW_NAME>DB to HBase</WORKFLOW_NAME>
|
11
|
<WORKFLOW_TYPE>Data Load</WORKFLOW_TYPE>
|
12
|
<WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
|
13
|
<CONFIGURATION start="manual">
|
14
|
<NODE isStart="true" name="start">
|
15
|
<DESCRIPTION>start</DESCRIPTION>
|
16
|
<PARAMETERS/>
|
17
|
<ARCS>
|
18
|
<ARC to="queryDatasources"/>
|
19
|
</ARCS>
|
20
|
</NODE>
|
21
|
<NODE name="queryDatasources" type="QueryDb">
|
22
|
<DESCRIPTION>query Datasources</DESCRIPTION>
|
23
|
<PARAMETERS>
|
24
|
<PARAM managedBy="system" name="dbProperty" required="true" type="string">dnet.openaire.db.name</PARAM>
|
25
|
<PARAM managedBy="system" name="sql" required="true" type="string">/eu/dnetlib/msro/openaireplus/workflows/hbase/queryDatasources.sql
|
26
|
</PARAM>
|
27
|
<PARAM managedBy="system" name="sqlForSize" required="true" type="string">
|
28
|
/eu/dnetlib/msro/openaireplus/workflows/hbase/queryDatasourcesForSize.sql
|
29
|
</PARAM>
|
30
|
<PARAM managedBy="system" name="outputEprParam" required="true" type="string">dsEpr</PARAM>
|
31
|
</PARAMETERS>
|
32
|
<ARCS>
|
33
|
<ARC to="storeDatasources"/>
|
34
|
</ARCS>
|
35
|
</NODE>
|
36
|
<NODE name="storeDatasources" type="StoreHBase">
|
37
|
<DESCRIPTION>Store Datasources to HBase</DESCRIPTION>
|
38
|
<PARAMETERS>
|
39
|
<PARAM managedBy="system" name="inputEprParam" required="true" type="string">dsEpr</PARAM>
|
40
|
<PARAM managedBy="system" name="hbaseTableProperty" required="true" type="string">hbase.mapred.datatable</PARAM>
|
41
|
<PARAM managedBy="system" name="cluster" required="true" type="string">DM</PARAM>
|
42
|
<PARAM managedBy="user" name="mapping" required="true" type="string" function="obtainValues('dbmf2hbaseMappings', {})"></PARAM>
|
43
|
</PARAMETERS>
|
44
|
<ARCS>
|
45
|
<ARC to="queryDatasourceOrganization"/>
|
46
|
</ARCS>
|
47
|
</NODE>
|
48
|
<NODE name="queryDatasourceOrganization" type="QueryDb">
|
49
|
<DESCRIPTION>query relation Datasource_Organization</DESCRIPTION>
|
50
|
<PARAMETERS>
|
51
|
<PARAM managedBy="system" name="dbProperty" required="true" type="string">dnet.openaire.db.name</PARAM>
|
52
|
<PARAM managedBy="system" name="sql" required="true" type="string">
|
53
|
/eu/dnetlib/msro/openaireplus/workflows/hbase/queryDatasourceOrganization.sql
|
54
|
</PARAM>
|
55
|
<PARAM managedBy="system" name="outputEprParam" required="true" type="string">dsOrgEpr</PARAM>
|
56
|
</PARAMETERS>
|
57
|
<ARCS>
|
58
|
<ARC to="storeDatasourceOrganization"/>
|
59
|
</ARCS>
|
60
|
</NODE>
|
61
|
<NODE name="storeDatasourceOrganization" type="StoreHBase">
|
62
|
<DESCRIPTION>Store relation Datasource_Organization</DESCRIPTION>
|
63
|
<PARAMETERS>
|
64
|
<PARAM managedBy="system" name="inputEprParam" required="true" type="string">dsOrgEpr</PARAM>
|
65
|
<PARAM managedBy="system" name="hbaseTableProperty" required="true" type="string">hbase.mapred.datatable</PARAM>
|
66
|
<PARAM managedBy="system" name="cluster" required="true" type="string">DM</PARAM>
|
67
|
<PARAM managedBy="user" name="mapping" required="true" type="string" function="obtainValues('dbmf2hbaseMappings', {})"></PARAM>
|
68
|
</PARAMETERS>
|
69
|
<ARCS>
|
70
|
<ARC to="queryOrganizations"/>
|
71
|
</ARCS>
|
72
|
</NODE>
|
73
|
<NODE name="queryOrganizations" type="QueryDb">
|
74
|
<DESCRIPTION>query Organizations</DESCRIPTION>
|
75
|
<PARAMETERS>
|
76
|
<PARAM managedBy="system" name="dbProperty" required="true" type="string">dnet.openaire.db.name</PARAM>
|
77
|
<PARAM managedBy="system" name="sql" required="true" type="string">/eu/dnetlib/msro/openaireplus/workflows/hbase/queryOrganizations.sql
|
78
|
</PARAM>
|
79
|
<PARAM managedBy="system" name="outputEprParam" required="true" type="string">orgEpr</PARAM>
|
80
|
</PARAMETERS>
|
81
|
<ARCS>
|
82
|
<ARC to="storeOrganizations"/>
|
83
|
</ARCS>
|
84
|
</NODE>
|
85
|
<NODE name="storeOrganizations" type="StoreHBase">
|
86
|
<DESCRIPTION>Store Organizations to HBase</DESCRIPTION>
|
87
|
<PARAMETERS>
|
88
|
<PARAM managedBy="system" name="inputEprParam" required="true" type="string">orgEpr</PARAM>
|
89
|
<PARAM managedBy="system" name="hbaseTableProperty" required="true" type="string">hbase.mapred.datatable</PARAM>
|
90
|
<PARAM managedBy="system" name="cluster" required="true" type="string">DM</PARAM>
|
91
|
<PARAM managedBy="user" name="mapping" required="true" type="string" function="obtainValues('dbmf2hbaseMappings', {})"></PARAM>
|
92
|
</PARAMETERS>
|
93
|
<ARCS>
|
94
|
<ARC to="queryOrganizationsFromOpenOrgsDB"/>
|
95
|
</ARCS>
|
96
|
</NODE>
|
97
|
<NODE name="queryOrganizationsFromOpenOrgsDB" type="QueryDb">
|
98
|
<DESCRIPTION>query Open Organizations</DESCRIPTION>
|
99
|
<PARAMETERS>
|
100
|
<PARAM managedBy="system" name="dbProperty" required="true" type="string">dnet.openorgs.db.name</PARAM>
|
101
|
<PARAM managedBy="system" name="sql" required="true" type="string">/eu/dnetlib/msro/openaireplus/workflows/hbase/queryOrganizationsFromOpenOrgsDB.sql
|
102
|
</PARAM>
|
103
|
<PARAM managedBy="system" name="outputEprParam" required="true" type="string">openOrgsEpr</PARAM>
|
104
|
</PARAMETERS>
|
105
|
<ARCS>
|
106
|
<ARC to="storeOrganizationsFromOpenOrgsDB"/>
|
107
|
</ARCS>
|
108
|
</NODE>
|
109
|
<NODE name="storeOrganizationsFromOpenOrgsDB" type="StoreHBase">
|
110
|
<DESCRIPTION>Store Open Organizations to HBase</DESCRIPTION>
|
111
|
<PARAMETERS>
|
112
|
<PARAM managedBy="system" name="inputEprParam" required="true" type="string">openOrgsEpr</PARAM>
|
113
|
<PARAM managedBy="system" name="hbaseTableProperty" required="true" type="string">hbase.mapred.datatable</PARAM>
|
114
|
<PARAM managedBy="system" name="cluster" required="true" type="string">DM</PARAM>
|
115
|
<PARAM managedBy="user" name="mapping" required="true" type="string" function="obtainValues('dbmf2hbaseMappings', {})"></PARAM>
|
116
|
</PARAMETERS>
|
117
|
<ARCS>
|
118
|
<ARC to="queryProjects"/>
|
119
|
</ARCS>
|
120
|
</NODE>
|
121
|
<NODE name="queryProjects" type="QueryDb">
|
122
|
<DESCRIPTION>query Projects</DESCRIPTION>
|
123
|
<PARAMETERS>
|
124
|
<PARAM managedBy="system" name="dbProperty" required="true" type="string">dnet.openaire.db.name</PARAM>
|
125
|
<PARAM managedBy="system" name="sql" required="true" type="string">/eu/dnetlib/msro/openaireplus/workflows/hbase/queryProjects.sql</PARAM>
|
126
|
<PARAM managedBy="system" name="outputEprParam" required="true" type="string">projEpr</PARAM>
|
127
|
</PARAMETERS>
|
128
|
<ARCS>
|
129
|
<ARC to="storeProjects"/>
|
130
|
</ARCS>
|
131
|
</NODE>
|
132
|
<NODE name="storeProjects" type="StoreHBase">
|
133
|
<DESCRIPTION>Store Projects to HBase</DESCRIPTION>
|
134
|
<PARAMETERS>
|
135
|
<PARAM managedBy="system" name="inputEprParam" required="true" type="string">projEpr</PARAM>
|
136
|
<PARAM managedBy="system" name="hbaseTableProperty" required="true" type="string">hbase.mapred.datatable</PARAM>
|
137
|
<PARAM managedBy="system" name="cluster" required="true" type="string">DM</PARAM>
|
138
|
<PARAM managedBy="user" name="mapping" required="true" type="string" function="obtainValues('dbmf2hbaseMappings', {})"></PARAM>
|
139
|
</PARAMETERS>
|
140
|
<ARCS>
|
141
|
<ARC to="queryProjectOrganization"/>
|
142
|
</ARCS>
|
143
|
</NODE>
|
144
|
<NODE name="queryProjectOrganization" type="QueryDb">
|
145
|
<DESCRIPTION>query relation Project_Organization</DESCRIPTION>
|
146
|
<PARAMETERS>
|
147
|
<PARAM managedBy="system" name="dbProperty" required="true" type="string">dnet.openaire.db.name</PARAM>
|
148
|
<PARAM managedBy="system" name="sql" required="true" type="string">
|
149
|
/eu/dnetlib/msro/openaireplus/workflows/hbase/queryProjectOrganization.sql
|
150
|
</PARAM>
|
151
|
<PARAM managedBy="system" name="outputEprParam" required="true" type="string">projOrgEpr</PARAM>
|
152
|
</PARAMETERS>
|
153
|
<ARCS>
|
154
|
<ARC to="storeProjectOrganization"/>
|
155
|
</ARCS>
|
156
|
</NODE>
|
157
|
<NODE name="storeProjectOrganization" type="StoreHBase">
|
158
|
<DESCRIPTION>Store relation Project_Organizations</DESCRIPTION>
|
159
|
<PARAMETERS>
|
160
|
<PARAM managedBy="system" name="inputEprParam" required="true" type="string">projOrgEpr</PARAM>
|
161
|
<PARAM managedBy="system" name="hbaseTableProperty" required="true" type="string">hbase.mapred.datatable</PARAM>
|
162
|
<PARAM managedBy="system" name="cluster" required="true" type="string">DM</PARAM>
|
163
|
<PARAM managedBy="user" name="mapping" required="true" type="string" function="obtainValues('dbmf2hbaseMappings', {})"></PARAM>
|
164
|
</PARAMETERS>
|
165
|
<ARCS>
|
166
|
<ARC to="success"/>
|
167
|
</ARCS>
|
168
|
</NODE>
|
169
|
</CONFIGURATION>
|
170
|
<STATUS>
|
171
|
<LAST_EXECUTION_ID>wf_20140509_125739_830</LAST_EXECUTION_ID>
|
172
|
<LAST_EXECUTION_DATE>2014-05-09T13:03:16+02:00</LAST_EXECUTION_DATE>
|
173
|
<LAST_EXECUTION_STATUS>SUCCESS</LAST_EXECUTION_STATUS>
|
174
|
<LAST_EXECUTION_ERROR/>
|
175
|
<LAST_EXECUTION_OUTPUT name=""></LAST_EXECUTION_OUTPUT>
|
176
|
</STATUS>
|
177
|
</BODY>
|
178
|
</RESOURCE_PROFILE>
|