Mount Point: /api/v12/clusters/{clusterName}/services/{serviceName}/commands/hdfsUpgradeMetadata


Upgrade HDFS Metadata as part of a major version upgrade.

When doing a major version upgrade for HDFS, it is necessary to start HDFS in a special mode where it will do any necessary upgrades of stored metadata. Trying to start HDFS normally will result in an error message and the NameNode(s) failing to start.

The metadata upgrade must eventually be finalized, using the hdfsFinalizeMetadataUpgrade command on the NameNode.

Available since API v6.


name description type default
serviceName The HDFS service name. path
clusterName (no documentation provided) path

Response Body

element: command

Information about the submitted command.