ModifyHadoopDataSource_云原生数据仓库 AnalyticDB PostgreSQL版_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Quotas Info

The current API request rate is 3000/1(s).

Authorization Information

The following table shows the authorization information corresponding to this API, which can be used in the Action policy element to grant a RAM user or RAM role the permissions to call the API. Please use RAM to set up these permissions and refer to RAM documentation for more instructions.

Description:View Details...

ActionsAccess levelResource typeCondition keyAssociated operation
gpdb:ModifyHadoopDataSource
Update
DBInstance
acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}
NoneNone

Request Parameters

Field NameField Details
RegionIdstring

The region ID.View Details...

Example:cn-hangzhouReference Value Source:
    DescribeRegions
DBInstanceIdstring

Instance ID.

Example:gp-xxxxxxxReference Value Source:
    UpgradeDBInstance
    CreateDBInstance
    UpdateDBInstancePlan
    DescribeDBInstances
    PauseInstance
    ModifyDBInstancePayType
    ResumeInstance
    UploadDocumentAsync
    DownloadDiagnosisRecords
    UnloadSampleData
DataSourceIdstring

The data source ID.

Example:123Reference Value Source:
    CreateHadoopDataSource
    DescribeHadoopDataSource
    ModifyRemoteADBDataSource
    ListExternalDataSources
DataSourceDescriptionstring

Service description, with a maximum length of 256 characters.

Example:pxf for hdfs data source
DataSourceTypestring

The type of the data source. Valid values:View Details...

Example:mysqlReference Value Source:
    DescribeHadoopDataSource
    ListExternalDataSources
    CreateStreamingDataSource
HadoopCreateTypestring

The type of the external service. Valid values:View Details...

Example:emrReference Value Source:
    DescribeHadoopDataSource
HadoopHostsAddressstring

The IP address and hostname of the Hadoop cluster (data source) in the /etc/hosts file.

Example:127.0.0.1 localhostReference Value Source:
    DescribeHadoopDataSource
HadoopCoreConfstring

The content of the Hadoop core-site.xml file.

Example:xxxxxxReference Value Source:
    DescribeHadoopDataSource
HDFSConfstring

The content of the Hadoop hdfs-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.

Example:xxxxxx
HiveConfstring

The content of the Hadoop hive-site.xml file. This parameter must be specified when DataSourceType is set to Hive.

Example:xxxxxx
YarnConfstring

The content of the Hadoop yarn-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.

Example:xxxxxx
MapReduceConfstring

The content of the Hadoop mapred-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.

Example:<?xml version="1.0" ?> <!-- Created at 2023-08-15 13:53:28.962 --> <configuration> <property> <name>mapreduce.map.speculative</name> <value>true</value> </property> <property> <name>mapreduce.jobhistory.keytab</name> <value></value> </property> </configuration>
EmrInstanceIdstring

When HadoopCreateType is Emr, the value of this field is the EMR instance ID.

Example:c-1234567

Response Parameters

Field NameField Details
RequestIdstring

Request ID.

Example:2C125605-266F-41CA-8AC5-3A643D4F42C5

Sample Response

Change History

No Change History found.

Examples