update_location_hdfs
(**kwargs)¶Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.
See also: AWS API Documentation
Request Syntax
response = client.update_location_hdfs(
LocationArn='string',
Subdirectory='string',
NameNodes=[
{
'Hostname': 'string',
'Port': 123
},
],
BlockSize=123,
ReplicationFactor=123,
KmsKeyProviderUri='string',
QopConfiguration={
'RpcProtection': 'DISABLED'|'AUTHENTICATION'|'INTEGRITY'|'PRIVACY',
'DataTransferProtection': 'DISABLED'|'AUTHENTICATION'|'INTEGRITY'|'PRIVACY'
},
AuthenticationType='SIMPLE'|'KERBEROS',
SimpleUser='string',
KerberosPrincipal='string',
KerberosKeytab=b'bytes',
KerberosKrb5Conf=b'bytes',
AgentArns=[
'string',
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the source HDFS cluster location.
The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.
The NameNode of the Hadoop Distributed File System (HDFS). The NameNode manages the file system's namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes.
The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.
The port that the NameNode uses to listen to client requests.
The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.
The RPC protection setting configured on the HDFS cluster. This setting corresponds to your hadoop.rpc.protection
setting in your core-site.xml
file on your Hadoop cluster.
The data transfer protection setting configured on the HDFS cluster. This setting corresponds to your dfs.data.transfer.protection
setting in the hdfs-site.xml
file on your Hadoop cluster.
krb5.conf
file that contains the Kerberos configuration information. You can load the krb5.conf
file by providing the file's address. If you're using the CLI, it performs the base64 encoding for you. Otherwise, provide the base64-encoded text.The ARNs of the agents that are used to connect to the HDFS cluster.
dict
Response Syntax
{}
Response Structure
Exceptions
DataSync.Client.exceptions.InvalidRequestException
DataSync.Client.exceptions.InternalException