NameNodeProperty Struct
The NameNode of the Hadoop Distributed File System (HDFS).
The NameNode manages the file system's namespace and performs operations such as opening, closing, and renaming files and directories. The NameNode also contains the information to map blocks of data to the DataNodes.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datasync as datasync } from 'aws-cdk-lib';
const nameNodeProperty: datasync.CfnLocationHDFS.NameNodeProperty = {
hostname: 'hostname',
port: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_datasync as datasync
name_node_property = datasync.CfnLocationHDFS.NameNodeProperty(
hostname="hostname",
port=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.datasync.*;
NameNodeProperty nameNodeProperty = NameNodeProperty.builder()
.hostname("hostname")
.port(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var nameNodeProperty = new NameNodeProperty {
Hostname = "hostname",
Port = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
nameNodeProperty := &NameNodeProperty{
Hostname: jsii.String("hostname"),
Port: jsii.Number(123),
}
Properties
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.