-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[update][plugins] update json templates
- Loading branch information
Showing
34 changed files
with
259 additions
and
179 deletions.
There are no files selected for viewing
16 changes: 11 additions & 5 deletions
16
plugin/reader/clickhousereader/src/main/resources/plugin_job_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
{ | ||
"name": "clickhousereader", | ||
"parameter": { | ||
"username": "", | ||
"username": "default", | ||
"password": "", | ||
"column": ["*"], | ||
"column": [ | ||
"*" | ||
], | ||
"connection": [ | ||
{ | ||
"jdbcUrl": ["jdbc:clickhouse://127.0.0.1:8123/default"], | ||
"table": [] | ||
"jdbcUrl": [ | ||
"jdbc:clickhouse://127.0.0.1:8123/default" | ||
], | ||
"table": [ | ||
"yourtable" | ||
] | ||
} | ||
], | ||
"where": "" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 12 additions & 7 deletions
19
plugin/reader/hanareader/src/main/resources/plugin_job_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
{ | ||
"name": "rdbmsreader", | ||
"name": "hanareader", | ||
"parameter": { | ||
"username": "", | ||
"username": "system", | ||
"password": "", | ||
"column": [], | ||
"column": [ | ||
"*" | ||
], | ||
"connection": [ | ||
{ | ||
"jdbcUrl": [], | ||
"table": [], | ||
"driver": "" | ||
"jdbcUrl": [ | ||
"jdbc:sap://localhost:30015/?currentschema=SYSTEM" | ||
], | ||
"table": [ | ||
"addax_table" | ||
] | ||
} | ||
], | ||
"where": "1=1", | ||
"autoPk": false, | ||
"fetchSize": 2048, | ||
"splitPk": "" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,6 @@ | |
"parameter": { | ||
"path": "/user/hive/warehouse/mytable01/", | ||
"defaultFS": "hdfs://cluster", | ||
"haveKerberos": "true", | ||
"kerberosPrincipal": "[email protected]", | ||
"kerberosKeytabFilePath": "/etc/security/keytabs/hive.headless.keytab", | ||
"column": [ | ||
{ | ||
"index": 0, | ||
|
@@ -27,5 +24,15 @@ | |
"fileType": "orc", | ||
"encoding": "UTF-8", | ||
"fieldDelimiter": "," | ||
}, | ||
"haveKerberos": "true", | ||
"kerberosPrincipal": "[email protected]", | ||
"kerberosKeytabFilePath": "/etc/security/keytabs/hive.headless.keytab", | ||
"hadoopConfig": { | ||
"dfs.nameservices": "cluster", | ||
"dfs.ha.namenodes.cluster": "nn1,nn2", | ||
"dfs.namenode.rpc-address.cluster.nn1": "node1:8020", | ||
"dfs.namenode.rpc-address.cluster.nn2": "node2:8020", | ||
"dfs.client.failover.proxy.provider.cluster": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 16 additions & 14 deletions
30
plugin/reader/kudureader/src/main/resources/plugin_job_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
{ | ||
"name": "kudureader", | ||
"parameter": { | ||
"masterAddress": "127.0.0.1:7051", | ||
"table": "test", | ||
"splitKey": "", | ||
"lowerBound": "min", | ||
"upperBound": "max", | ||
"ReadTimeoutMs": 30000, | ||
"scanRequestTimeout": 30000, | ||
"columns": [ | ||
"col1", "col2", "col3" | ||
] | ||
} | ||
} | ||
"name": "kudureader", | ||
"parameter": { | ||
"masterAddress": "127.0.0.1:7051", | ||
"table": "test", | ||
"splitPk": "", | ||
"lowerBound": "min", | ||
"upperBound": "max", | ||
"ReadTimeoutMs": 30000, | ||
"scanRequestTimeout": 30000, | ||
"columns": [ | ||
"col1", | ||
"col2", | ||
"col3" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 14 additions & 10 deletions
24
plugin/reader/s3reader/src/main/resources/plugin_job_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
{ | ||
"name": "s3reader", | ||
"parameter": { | ||
"region": "", | ||
"endpoint": "", | ||
"accessId": "", | ||
"accessKey": "", | ||
"bucket": "", | ||
"object": [], | ||
"column": [], | ||
"encoding": "", | ||
"fieldDelimiter": "", | ||
"compress": "" | ||
"endpoint": "https://s3.amazonaws.com", | ||
"accessId": "xxxxxxxxxxxx", | ||
"accessKey": "xxxxxxxxxxxxxxxxxxxxxxx", | ||
"bucket": "test", | ||
"object": [ | ||
"1.csv", | ||
"aa.csv" | ||
], | ||
"column": [ | ||
"*" | ||
], | ||
"region": "ap-northeast-1", | ||
"fileFormat": "csv", | ||
"fieldDelimiter": "," | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.