v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1444219188.6 KB

Creates an endpoint for a Hadoop Distributed File System (HDFS).

post/#X-Amz-Target=FmrsService.CreateLocationHdfs

Headers

X-Amz-Target'FmrsService.CreateLocationHdfs' required

Request body

Subdirectorystring

A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to <code>/</code>.

BlockSizeinteger

The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).

ReplicationFactorinteger

The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.

KmsKeyProviderUristring

The URI of the HDFS cluster's Key Management Server (KMS).

AuthenticationType'SIMPLE' | 'KERBEROS' required

The type of authentication used to determine the identity of the user.

SimpleUserstring
<p>The user name used to identify the client on the host operating system. </p> <note> <p>If <code>SIMPLE</code> is specified for <code>AuthenticationType</code>, this parameter is required. </p> </note>
KerberosPrincipalstring
<p>The Kerberos principal with access to the files and folders on the HDFS cluster. </p> <note> <p>If <code>KERBEROS</code> is specified for <code>AuthenticationType</code>, this parameter is required.</p> </note>
KerberosKeytabstring
<p>The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you're using the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text. </p> <note> <p>If <code>KERBEROS</code> is specified for <code>AuthenticationType</code>, this parameter is required. </p> </note>
KerberosKrb5Confstring
<p>The <code>krb5.conf</code> file that contains the Kerberos configuration information. You can load the <code>krb5.conf</code> 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. </p> <note> <p>If <code>KERBEROS</code> is specified for <code>AuthenticationType</code>, this parameter is required.</p> </note>
AgentArnsAgentArn[] required

The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.

Response

Success

LocationArnstring

The ARN of the source HDFS cluster location that's created.