Managed Service for Greenplum® API, REST: PXFDatasource.list
List all PXF datasources
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-greenplum/v1/clusters/{clusterId}/pxf_datasources
Path parameters
Parameter | Description |
---|---|
clusterId | Required. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"datasources": [
{
"name": "string",
// `datasources[]` 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`datasources[]`
}
]
}
Field | Description |
---|---|
datasources[] | object |
datasources[]. name |
string Required. The string length in characters must be 3-200. |
datasources[]. s3 |
object datasources[] includes only one of the fields s3 , jdbc , hdfs , hive |
datasources[]. s3. accessKey |
string The maximum string length in characters is 200. |
datasources[]. s3. secretKey |
string The maximum string length in characters is 200. |
datasources[]. s3. fastUpload |
boolean (boolean) |
datasources[]. s3. endpoint |
string The maximum string length in characters is 200. |
datasources[]. jdbc |
object datasources[] includes only one of the fields s3 , jdbc , hdfs , hive |
datasources[]. jdbc. driver |
string Matches jdbc.driver The maximum string length in characters is 50. |
datasources[]. jdbc. url |
string Matches jdbc.url The maximum string length in characters is 200. |
datasources[]. jdbc. user |
string Matches jdbc.user The maximum string length in characters is 200. |
datasources[]. jdbc. password |
string Matches jdbc.password The maximum string length in characters is 200. |
datasources[]. jdbc. statementBatchSize |
integer (int64) Matches jdbc.statement.batchsize Acceptable values are 50 to 1000, inclusive. |
datasources[]. jdbc. statementFetchSize |
integer (int64) Matches jdbc.statement.fetchsize Acceptable values are 50 to 10000, inclusive. |
datasources[]. jdbc. statementQueryTimeout |
integer (int64) Matches jdbc.statement.querytimeout Acceptable values are 5 to 600, inclusive. |
datasources[]. jdbc. poolEnabled |
boolean (boolean) Matches jdbc.pool.enabled |
datasources[]. jdbc. poolMaximumSize |
integer (int64) Matches jdbc.pool.property.maximumpoolsize Acceptable values are 10 to 200, inclusive. |
datasources[]. jdbc. poolConnectionTimeout |
integer (int64) Matches jdbc.pool.property.connectiontimeout Acceptable values are 5000 to 600000, inclusive. |
datasources[]. jdbc. poolIdleTimeout |
integer (int64) Matches jdbc.pool.property.idletimeout Acceptable values are 5000 to 600000, inclusive. |
datasources[]. jdbc. poolMinimumIdle |
integer (int64) Matches jdbc.pool.property.minimumidle Acceptable values are 0 to 200, inclusive. |
datasources[]. hdfs |
object datasources[] includes only one of the fields s3 , jdbc , hdfs , hive |
datasources[]. hdfs. core |
object |
datasources[]. hdfs. core. defaultFs |
string The maximum string length in characters is 200. |
datasources[]. hdfs. core. securityAuthToLocal |
string The maximum string length in characters is 1000. |
datasources[]. hdfs. kerberos |
object |
datasources[]. hdfs. kerberos. enable |
boolean (boolean) |
datasources[]. hdfs. kerberos. primary |
string The maximum string length in characters is 128. |
datasources[]. hdfs. kerberos. realm |
string The maximum string length in characters is 1000. |
datasources[]. hdfs. kerberos. kdcServers[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
datasources[]. hdfs. kerberos. adminServer |
string The maximum string length in characters is 128. |
datasources[]. hdfs. kerberos. defaultDomain |
string The maximum string length in characters is 128. |
datasources[]. hdfs. kerberos. keytabBase64 |
string The maximum string length in characters is 65536. Value must match the regular expression |
datasources[]. hdfs. userImpersonation |
boolean (boolean) |
datasources[]. hdfs. username |
string The maximum string length in characters is 128. |
datasources[]. hdfs. saslConnectionRetries |
integer (int64) Acceptable values are 1 to 50, inclusive. |
datasources[]. hdfs. zkHosts[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
datasources[]. hdfs. dfs |
object |
datasources[]. hdfs. dfs. haAutomaticFailoverEnabled |
boolean (boolean) |
datasources[]. hdfs. dfs. blockAccessTokenEnabled |
boolean (boolean) |
datasources[]. hdfs. dfs. useDatanodeHostname |
boolean (boolean) |
datasources[]. hdfs. dfs. namenodes |
object No more than 10000 per resource. |
datasources[]. hdfs. yarn |
object |
datasources[]. hdfs. yarn. resourcemanagerHaEnabled |
boolean (boolean) |
datasources[]. hdfs. yarn. resourcemanagerHaAutoFailoverEnabled |
boolean (boolean) |
datasources[]. hdfs. yarn. resourcemanagerHaAutoFailoverEmbedded |
boolean (boolean) |
datasources[]. hdfs. yarn. resourcemanagerClusterId |
string The maximum string length in characters is 1000. |
datasources[]. hdfs. yarn. haRm |
object No more than 10000 per resource. |
datasources[]. hive |
object datasources[] includes only one of the fields s3 , jdbc , hdfs , hive |
datasources[]. hive. core |
object |
datasources[]. hive. core. defaultFs |
string The maximum string length in characters is 200. |
datasources[]. hive. core. securityAuthToLocal |
string The maximum string length in characters is 1000. |
datasources[]. hive. kerberos |
object |
datasources[]. hive. kerberos. enable |
boolean (boolean) |
datasources[]. hive. kerberos. primary |
string The maximum string length in characters is 128. |
datasources[]. hive. kerberos. realm |
string The maximum string length in characters is 1000. |
datasources[]. hive. kerberos. kdcServers[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
datasources[]. hive. kerberos. adminServer |
string The maximum string length in characters is 128. |
datasources[]. hive. kerberos. defaultDomain |
string The maximum string length in characters is 128. |
datasources[]. hive. kerberos. keytabBase64 |
string The maximum string length in characters is 65536. Value must match the regular expression |
datasources[]. hive. userImpersonation |
boolean (boolean) |
datasources[]. hive. username |
string The maximum string length in characters is 128. |
datasources[]. hive. saslConnectionRetries |
integer (int64) Acceptable values are 1 to 50, inclusive. |
datasources[]. hive. zkHosts[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
datasources[]. hive. ppd |
boolean (boolean) |
datasources[]. hive. metastoreUris[] |
string The maximum number of elements is 200. The string length in characters for each value must be 1-200. |
datasources[]. hive. metastoreKerberosPrincipal |
string The maximum string length in characters is 1000. |
datasources[]. hive. authKerberosPrincipal |
string The maximum string length in characters is 1000. |