/clusters/{clusterName}/services/{serviceName}/commands/hdfsUpgradeMetadata
Mount Point: /api/v9/clusters/{clusterName}/services/{serviceName}/commands/hdfsUpgradeMetadata
POST
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.Parameters
name | description | type | default |
---|---|---|---|
serviceName | The HDFS service name. | path | |
clusterName | (no documentation provided) | path |
Response Body
element: | command |
Information about the submitted command.