Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="cf476a33-ba1f-413a-80e0-c7d194faf793_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
5
		<RESOURCE_TYPE value="WorkflowDSResourceType"/>
6
		<RESOURCE_KIND value="WorkflowDSResources"/>
7
		<RESOURCE_URI value=""/>
8
		<DATE_OF_CREATION value="2006-05-04T18:13:51.0Z"/>
9
	</HEADER>
10
	<BODY>
11
		<WORKFLOW_NAME>Import HBase Table</WORKFLOW_NAME>
12
		<WORKFLOW_TYPE>IIS</WORKFLOW_TYPE>
13
		<WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
14
		<CONFIGURATION start="manual">
15
			<NODE name="setCsvPath" type="SetEnvParameter" isStart="true">
16
				<DESCRIPTION>Set the CSV file path on HDFS</DESCRIPTION>
17
				<PARAMETERS>
18
					<PARAM managedBy="system" name="parameterName" required="true" type="string">csvPath</PARAM>
19
					<PARAM managedBy="user" name="parameterValue" required="true" type="string"></PARAM>
20
				</PARAMETERS>
21
				<ARCS>
22
					<ARC to="import"/>
23
				</ARCS>
24
			</NODE>
25

    
26
			<NODE name="hadoopConfig" type="SetClusterAndTable" isStart="true">
27
				<DESCRIPTION>Set table name</DESCRIPTION>
28
				<PARAMETERS>
29
					<PARAM required="true" type="string" name="cluster" managedBy="system">DM</PARAM>
30
					<PARAM required="true" type="string" name="tableParam" managedBy="system">tableName</PARAM>
31
					<PARAM required="true" type="string" name="table" managedBy="user"/>
32
				</PARAMETERS>
33
				<ARCS>
34
					<ARC to="import"/>
35
				</ARCS>
36
			</NODE>
37

    
38

    
39
			<NODE name="import" type="SubmitHadoopJob" isJoin="true">
40
				<DESCRIPTION>export the information space as sequence file</DESCRIPTION>
41
				<PARAMETERS>
42
					<PARAM required="true" type="string" name="hadoopJob" managedBy="system">informationSpaceImportJob</PARAM>
43
					<PARAM required="true" type="string" name="envParams" managedBy="system">
44
						{
45
						'cluster' : 'cluster',
46
						'hbase.mapred.outputtable' : 'tableName',
47
						'hbase.mapreduce.outputtable' : 'tableName',
48
						'mapred.input.dir' : 'csvPath'
49
						}
50
					</PARAM>
51
				</PARAMETERS>
52
				<ARCS>
53
					<ARC to="success"/>
54
				</ARCS>
55
			</NODE>
56
		</CONFIGURATION>
57
		<STATUS/>
58
	</BODY>
59
</RESOURCE_PROFILE>
60

    
61

    
62

    
63

    
64

    
65

    
(10-10/10)