-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcdap-data-pipeline.json
94 lines (94 loc) · 3.07 KB
/
cdap-data-pipeline.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"artifact": {
"name": "cdap-data-pipeline",
"version": "6.10.1",
"scope": "SYSTEM",
"label": "Data Pipeline - Batch"
},
"description": "",
"name": "",
"change": {
"description": ""
},
"parentVersion": "",
"config": {
"resources": {
"memoryMB": 2048,
"virtualCores": 1
},
"driverResources": {
"memoryMB": 2048,
"virtualCores": 1
},
"connections": [
{
"from": "File",
"to": "GCS"
}
],
"comments": [],
"postActions": [],
"properties": {},
"processTimingEnabled": true,
"stageLoggingEnabled": false,
"stages": [
{
"name": "File",
"plugin": {
"name": "File",
"type": "batchsource",
"label": "File",
"artifact": {
"name": "core-plugins",
"version": "2.12.1",
"scope": "SYSTEM"
},
"properties": {
"sampleSize": "1000",
"enableQuotedValues": "false",
"skipHeader": "false",
"filenameOnly": "false",
"recursive": "false",
"ignoreNonExistingFolders": "false",
"fileEncoding": "UTF-8",
"schema": "{\"name\":\"fileRecord\",\"type\":\"record\",\"fields\":[{\"name\":\"offset\",\"type\":\"long\"},{\"name\":\"body\",\"type\":\"string\"}]}"
}
},
"outputSchema": "{\"name\":\"fileRecord\",\"type\":\"record\",\"fields\":[{\"name\":\"offset\",\"type\":\"long\"},{\"name\":\"body\",\"type\":\"string\"}]}",
"id": "File"
},
{
"name": "GCS",
"plugin": {
"name": "GCS",
"type": "batchsink",
"label": "GCS",
"artifact": {
"name": "google-cloud",
"version": "0.23.1",
"scope": "SYSTEM"
},
"properties": {
"useConnection": "false",
"project": "auto-detect",
"serviceAccountType": "filePath",
"serviceFilePath": "auto-detect",
"suffix": "yyyy-MM-dd-HH-mm",
"writeHeader": "false",
"location": "us",
"contentType": "application/octet-stream"
}
},
"id": "GCS"
}
],
"schedule": "0 1 */1 * *",
"engine": "spark",
"numOfRecordsPreview": 100,
"rangeRecordsPreview": {
"min": 1,
"max": "5000"
},
"maxConcurrentRuns": 1
}
}