Configuring FSImage Fetch for FSAnalytics in Kerberos and Non-Kerberos HDFS Web UI Environments
In ODP/CDP deployments where Kerberos authentication is enabled for the HDFS NameNode UI, the parameter hdfs.webhdfs.kerberos.enabled must be set to true in $AcceloHome/config/acceldata.conf.
- This configuration is required to ensure proper authentication for the fsimage fetch API invoked by Pulse, which retrieves the latest fsimage from the NameNode UI.
- If Kerberos authentication is not enabled for the HDFS Web UI, ensure that the parameter **hdfs.webhdfs.kerberos.enabled** is set to **false**.
- Run the following command to apply the changes.
accelo reconfig cluster
Verification
After executing the above command, the configuration change can be verified in: $AcceloHome/work/<clusterName>/fsanalytics/kinit_fsimage.sh Check the value of the **IsKerberosEnabled** parameter in this script:
- **1** indicates that WebHDFS Kerberos authentication is enabled.
- **0** indicates that WebHDFS Kerberos authentication is disabled
Info
Ensure not update these values manually in $AcceloHome_/work/<clusterName>/fsanalytics/kinit__fsimage.sh.
