Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-247.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-247.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1', '']
Please some one help me for the above error message and suggest
root root tmp directory permissions
cleaned up in all the servers , removed repo's and configured again however still getting the same error message.
Please some one assist me
thanks in advance
Could you try below solution. it has worked for me.
mv /var/lib/ambari-agent/data/structured-out-status.json /var/lib/ambari-agent/data/structured-out-status.json-old
Try to restart
Could you please check your value for dfs.permissions.superusergroup. This might be causing your issue.
Try to modify the dfs.permissions.superusergroup variable from hdfs.
Could you please let me know if issue is still persist.