Modify HDFS configurations
You may need to modify
your hdfs-site
configuration and/or your core-site
configuration.
Check whether you need to modify your
hdfs-site
configuration, by executing the following command on the
Ambari Server host:/var/lib/ambari-server/resources/scripts/configs.py -u
[AMBARI_USER] -p [AMBARI_PW] -port [AMBARI_PORT] get localhost [CLUSTER_NAME]
hdfs-site
If you see any of the following properties, you must delete them from your configuration.
- dfs.nameservices
- dfs.client.failover.proxy.provider.[NAMESERVICE_ID]
- dfs.ha.namenodes.[NAMESERVICE_ID]
- dfs.ha.fencing.methods
- dfs.ha.automatic-failover.enabled
- dfs.namenode.http-address.[NAMESERVICE_ID].nn1
- dfs.namenode.http-address.[NAMESERVICE_ID].nn2
- dfs.namenode.rpc-address.[NAMESERVICE_ID].nn1
- dfs.namenode.rpc-address.[NAMESERVICE_ID].nn2
- dfs.namenode.shared.edits.dir
- dfs.journalnode.edits.dir
- dfs.journalnode.http-address
- dfs.journalnode.kerberos.internal.spnego.principal
- dfs.journalnode.kerberos.principal
- dfs.journalnode.keytab.file