Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Error: Unable to run the custom hook script
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
New Contributor
Created ‎01-16-2018 04:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are a HDP 2.6 deployment, during the deploy of the Cluster we have the following error: stdout: /var/lib/ambari-agent/data/output-3524.txt 2018-01-16 12:52:33,990 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=None -> 2.6 2018-01-16 12:52:33,996 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2018-01-16 12:52:33,997 - Group['livy'] {} 2018-01-16 12:52:33,999 - Adding group Group['livy'] 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-3524.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-3524.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1', ''] Command failed after 1 tries
1 REPLY 1
Expert Contributor
Created ‎02-11-2018 06:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've seen it depends on the services that are failling.
E.g. Below steps worked for me when HDFS or Node Manager giving mentioned message, but when I have all servicies stopped due to this message in a single node it does not work (I am figuring out how to).
ambari-agent stop
mv /var/lib/ambari-agent/data/structured-out-status.json /var/lib/ambari-agent/data/structured-out-status.json-old
ambari-agent start
Regards!
