Changing a Nameservice Name for Highly Available HDFS Using Cloudera Manager
For background on HDFS high availability, see Enabling HDFS HA Using Cloudera Manager.
- Stop all services except ZooKeeper.
- On a ZooKeeper server host, run zookeeper-client.
- Execute the following to remove the configured nameservice. This example assumes the name of the nameservice is nameservice1. You can identify the nameservice from the Federation and High Availability section on the HDFS Instances tab:
rmr /hadoop-ha/nameservice1
- Execute the following to remove the configured nameservice. This example assumes the name of the nameservice is nameservice1. You can identify the nameservice from the Federation and High Availability section on the HDFS Instances tab:
- In the Cloudera Manager Admin Console, update the NameNode nameservice name.
- Go to the HDFS service.
- Click the Configuration tab.
- Type nameservice in the Search field.
- For the NameNode Nameservice property, type the nameservice name in the NameNode (instance_name) field. The name must be unique and can contain only alphanumeric characters.
- Type quorum in the Search field.
- For the Quorum-based Storage Journal name property, type the nameservice name in the NameNode (instance_name) field.
- Click Save Changes to commit the changes.
- Click the Instances tab.
- In the Federation and High Availability pane, select .
- Go to the Hive service.
- Select .
- Go to the HDFS service.
- Click the Instances tab.
- Select the checkboxes next to the JournalNode role instances.
- Select .
- Click on an active NameNode role instance.
- Select .
- Click the Cloudera Manager logo to return to the Home page.
- Redeploy client configuration files.
- Start all services except ZooKeeper.
Page generated May 18, 2018.
<< Administering an HDFS High Availability Cluster | ©2016 Cloudera, Inc. All rights reserved | MapReduce (MRv1) and YARN (MRv2) High Availability >> |
Terms and Conditions Privacy Policy |