Class CfnLocationHDFS.NameNodeProperty
The NameNode of the Hadoop Distributed File System (HDFS).
Inheritance
System.Object
CfnLocationHDFS.NameNodeProperty
Implements
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NameNodeProperty : Object, CfnLocationHDFS.INameNodeProperty
Syntax (vb)
Public Class NameNodeProperty
Inherits Object
Implements CfnLocationHDFS.INameNodeProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// 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
};
Synopsis
Constructors
NameNodeProperty() |
Properties
Hostname | The hostname of the NameNode in the HDFS cluster. |
Port | The port that the NameNode uses to listen to client requests. |
Constructors
NameNodeProperty()
public NameNodeProperty()
Properties
Hostname
The hostname of the NameNode in the HDFS cluster.
public string Hostname { get; set; }
Property Value
System.String
Remarks
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.
Port
The port that the NameNode uses to listen to client requests.
public double Port { get; set; }
Property Value
System.Double