Title
Create new category
Edit page index title
Edit category
Edit link
Retain Custom Changes in FS Scripts After reconfig cluster
Starting from ODP 3.3.6, when WebHDFS is enabled, disabling SPNEGO authentication is no longer supported. This can cause FSImage loading failures in FSAnalytics because the FSImage fetch request may fail when accessing the NameNode.
A practical workaround is to modify the FSImage fetch request URL to include the parameter:
&user.name=hdfsWhy This Is Needed
When WebHDFS is enabled and SPNEGO cannot be disabled, the default FSImage fetch request may fail due to authentication restrictions. By appending user.name=hdfs to the request URL, the NameNode can process the request successfully under simple authentication environments.
This enables FSImage retrieval without requiring customers to disable WebHDFS, ensuring FSAnalytics continues to function correctly.
Steps
- Navigate to the FSAnalytics script directory
$ACCELDATA_HOME/work/<clusterName>/fsanalytics- Back up the existing script
cp update_fsimage.sh update_fsimage.sh.original- Modify the FSImage fetch logic
Replace the existing block in update_fsimage.sh.
Existing block
# Trigger the fsimage build commandif [[ $IsKerberosEnabled == 1 ]]then # Kerberos is enabled /usr/bin/gurl -X GET -u "hdfs:" -k -kt /krb/security/kerberos.keytab -kp -o /etc/fsanalytics/$1/fsimage -l "http://odp.jags.latest.com:50070/imagetransfer?getimage=1&txid=latest"else /usr/bin/gurl -X GET -o /etc/fsanalytics/$1/fsimage -l "http://odp.jags.latest.com:50070/imagetransfer?getimage=1&txid=latest"fiUpdated block
# Trigger the fsimage build command/usr/bin/gurl -X GET -o /etc/fsanalytics/$1/fsimage -l "http://odp.jags.latest.com:50070/imagetransfer?getimage=1&txid=latest&user.name=hdfs"This modification appends the user.name=hdfs parameter to the request URI.
- Verify the changes inside the FSAnalytics container
docker exec -it <containerName> bashCheck the updated script:
less /opt/docker/work/<clusterName>/fsanalytics/update_fsimageExit the container:
exit- Reload the Image
Run the following command to reload the FSImage:
accelo admin fsa loadIf required, specify the FSAnalytics endpoint:
accelo admin fsa load --uri=http://<PulseHostIP>:<FsContainerPort>Result
After applying this change, FSAnalytics can successfully fetch the FSImage regardless of whether WebHDFS is enabled or disabled, ensuring stable FSAnalytics operation in ODP 3.3.6 and later environments.
For additional help, contact www.acceldata.force.com OR call our service desk +1 844 9433282
Copyright © 2026