name | data type | description |
---|---|---|
nameServiceName | string | The name of the NameService to which the new NameNode(s) should be added. |
newNNHostIds | array of string | List of host ids to which new NameNode(s) should be added. |
newNNDataDirs | map of string | Mapping of NameNode Data Directories list to host id(s), key is the host id, the value is a comma separated list of directories to be set as NameNode Data Directories for the new NameNode(s). |
clearDataDirs | boolean | Specifies whether the NameNode Data Directories configured should be cleared as a first step, or the command should fail if the directories specified are not empty. |
restartCluster | boolean | Specifies whether the HDFS dependent services of the cluster should be restarted after the changes are applied, to reconfigure dependent services |
Example
{ "nameServiceName" : "...", "newNNHostIds" : [ "...", "..." ], "newNNDataDirs" : { "property1" : "...", "property2" : "..." }, "clearDataDirs" : true, "restartCluster" : true }