-
Notifications
You must be signed in to change notification settings - Fork 305
/
stream2hive.json
62 lines (62 loc) · 1.7 KB
/
stream2hive.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
{
"job": {
"content": [
{
"reader": {
"name": "streamreader",
"parameter": {
"column": [
{
"value": 1989060419890604.198906041,
"type": "double"
},
{
"value": "sssaaaa",
"type": "string"
}
],
"sliceRecordCount": 100
}
},
"writer": {
"name": "hdfswriter",
"parameter": {
"column": [
{
"name": "col1",
"type": "decimal(38.9)"
},
{
"name": "col2",
"type": "string"
}
],
"compress": "SNAPPY",
"defaultFS": "hdfs://sandbox",
"fieldDelimiter": "\t",
"fileName": "par",
"fileType": "par",
"path": "/tmp/addax_orc",
"writeMode": "overwrite",
"haveKerberos": "true",
"kerberosKeytabFilePath": "/etc/security/keytabs/hive.headless.keytab",
"kerberosPrincipal": "[email protected]",
"hadoopConfig": {
"dfs.nameservices": "sandbox",
"dfs.ha.namenodes.sandbox": "nn1,nn2",
"dfs.namenode.rpc-address.sandbox.nn1": "hdp1.sandbox.com:8020",
"dfs.namenode.rpc-address.sandbox.nn2": "hdp2.sandbox.com:8020",
"dfs.client.failover.proxy.provider.sandbox": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider"
}
}
}
}
],
"setting": {
"speed": {
"bytes": -1,
"channel": 1
}
}
}
}