Managed Service for Greenplum® API, REST: PXFDatasource methods
JSON Representation
{
"name": "string",
// includes only one of the fields `s3`, `jdbc`, `hdfs`, `hive`
"s3": {
"accessKey": "string",
"secretKey": "string",
"fastUpload": true,
"endpoint": "string"
},
"jdbc": {
"driver": "string",
"url": "string",
"user": "string",
"password": "string",
"statementBatchSize": "integer",
"statementFetchSize": "integer",
"statementQueryTimeout": "integer",
"poolEnabled": true,
"poolMaximumSize": "integer",
"poolConnectionTimeout": "integer",
"poolIdleTimeout": "integer",
"poolMinimumIdle": "integer"
},
"hdfs": {
"core": {
"defaultFs": "string",
"securityAuthToLocal": "string"
},
"kerberos": {
"enable": true,
"primary": "string",
"realm": "string",
"kdcServers": [
"string"
],
"adminServer": "string",
"defaultDomain": "string",
"keytabBase64": "string"
},
"userImpersonation": true,
"username": "string",
"saslConnectionRetries": "integer",
"zkHosts": [
"string"
],
"dfs": {
"haAutomaticFailoverEnabled": true,
"blockAccessTokenEnabled": true,
"useDatanodeHostname": true,
"namenodes": "object"
},
"yarn": {
"resourcemanagerHaEnabled": true,
"resourcemanagerHaAutoFailoverEnabled": true,
"resourcemanagerHaAutoFailoverEmbedded": true,
"resourcemanagerClusterId": "string",
"haRm": "object"
}
},
"hive": {
"core": {
"defaultFs": "string",
"securityAuthToLocal": "string"
},
"kerberos": {
"enable": true,
"primary": "string",
"realm": "string",
"kdcServers": [
"string"
],
"adminServer": "string",
"defaultDomain": "string",
"keytabBase64": "string"
},
"userImpersonation": true,
"username": "string",
"saslConnectionRetries": "integer",
"zkHosts": [
"string"
],
"ppd": true,
"metastoreUris": [
"string"
],
"metastoreKerberosPrincipal": "string",
"authKerberosPrincipal": "string"
},
// end of the list of possible fields
}
Field | Description |
---|---|
name | string Required. The string length in characters must be 3-200. |
s3 | object includes only one of the fields s3 , jdbc , hdfs , hive |
s3. accessKey |
string The maximum string length in characters is 200. |
s3. secretKey |
string The maximum string length in characters is 200. |
s3. fastUpload |
boolean (boolean) |
s3. endpoint |
string The maximum string length in characters is 200. |
jdbc | object includes only one of the fields s3 , jdbc , hdfs , hive |
jdbc. driver |
string Matches jdbc.driver The maximum string length in characters is 50. |
jdbc. url |
string Matches jdbc.url The maximum string length in characters is 200. |
jdbc. user |
string Matches jdbc.user The maximum string length in characters is 200. |
jdbc. password |
string Matches jdbc.password The maximum string length in characters is 200. |
jdbc. statementBatchSize |
integer (int64) Matches jdbc.statement.batchsize Acceptable values are 50 to 1000, inclusive. |
jdbc. statementFetchSize |
integer (int64) Matches jdbc.statement.fetchsize Acceptable values are 50 to 10000, inclusive. |
jdbc. statementQueryTimeout |
integer (int64) Matches jdbc.statement.querytimeout Acceptable values are 5 to 600, inclusive. |
jdbc. poolEnabled |
boolean (boolean) Matches jdbc.pool.enabled |
jdbc. poolMaximumSize |
integer (int64) Matches jdbc.pool.property.maximumpoolsize Acceptable values are 10 to 200, inclusive. |
jdbc. poolConnectionTimeout |
integer (int64) Matches jdbc.pool.property.connectiontimeout Acceptable values are 5000 to 600000, inclusive. |
jdbc. poolIdleTimeout |
integer (int64) Matches jdbc.pool.property.idletimeout Acceptable values are 5000 to 600000, inclusive. |
jdbc. poolMinimumIdle |
integer (int64) Matches jdbc.pool.property.minimumidle Acceptable values are 0 to 200, inclusive. |
hdfs | object includes only one of the fields s3 , jdbc , hdfs , hive |
hdfs. core |
object |
hdfs. core. defaultFs |
string The maximum string length in characters is 200. |
hdfs. core. securityAuthToLocal |
string The maximum string length in characters is 1000. |
hdfs. kerberos |
object |
hdfs. kerberos. enable |
boolean (boolean) |
hdfs. kerberos. primary |
string The maximum string length in characters is 128. |
hdfs. kerberos. realm |
string The maximum string length in characters is 1000. |
hdfs. kerberos. kdcServers[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
hdfs. kerberos. adminServer |
string The maximum string length in characters is 128. |
hdfs. kerberos. defaultDomain |
string The maximum string length in characters is 128. |
hdfs. kerberos. keytabBase64 |
string The maximum string length in characters is 65536. Value must match the regular expression |
hdfs. userImpersonation |
boolean (boolean) |
hdfs. username |
string The maximum string length in characters is 128. |
hdfs. saslConnectionRetries |
integer (int64) Acceptable values are 1 to 50, inclusive. |
hdfs. zkHosts[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
hdfs. dfs |
object |
hdfs. dfs. haAutomaticFailoverEnabled |
boolean (boolean) |
hdfs. dfs. blockAccessTokenEnabled |
boolean (boolean) |
hdfs. dfs. useDatanodeHostname |
boolean (boolean) |
hdfs. dfs. namenodes |
object No more than 10000 per resource. |
hdfs. yarn |
object |
hdfs. yarn. resourcemanagerHaEnabled |
boolean (boolean) |
hdfs. yarn. resourcemanagerHaAutoFailoverEnabled |
boolean (boolean) |
hdfs. yarn. resourcemanagerHaAutoFailoverEmbedded |
boolean (boolean) |
hdfs. yarn. resourcemanagerClusterId |
string The maximum string length in characters is 1000. |
hdfs. yarn. haRm |
object No more than 10000 per resource. |
hive | object includes only one of the fields s3 , jdbc , hdfs , hive |
hive. core |
object |
hive. core. defaultFs |
string The maximum string length in characters is 200. |
hive. core. securityAuthToLocal |
string The maximum string length in characters is 1000. |
hive. kerberos |
object |
hive. kerberos. enable |
boolean (boolean) |
hive. kerberos. primary |
string The maximum string length in characters is 128. |
hive. kerberos. realm |
string The maximum string length in characters is 1000. |
hive. kerberos. kdcServers[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
hive. kerberos. adminServer |
string The maximum string length in characters is 128. |
hive. kerberos. defaultDomain |
string The maximum string length in characters is 128. |
hive. kerberos. keytabBase64 |
string The maximum string length in characters is 65536. Value must match the regular expression |
hive. userImpersonation |
boolean (boolean) |
hive. username |
string The maximum string length in characters is 128. |
hive. saslConnectionRetries |
integer (int64) Acceptable values are 1 to 50, inclusive. |
hive. zkHosts[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
hive. ppd |
boolean (boolean) |
hive. metastoreUris[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
hive. metastoreKerberosPrincipal |
string The maximum string length in characters is 1000. |
hive. authKerberosPrincipal |
string The maximum string length in characters is 1000. |
Methods
Method | Description |
---|---|
create | Creates PXF datasource |
delete | Delete PXF datasource |
list | List all PXF datasources |
update | Update PXF datasource |