Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.6.0
-
None
Description
STR:
- Install Ambari 2.6
- Create cluster (ZooKeeper-only is enough)
- Enable Service Auto Start for services
- Restart node (shutdown -r now)
Result: service auto start permanently fails with the following error.
INFO 2017-09-21 11:22:40,296 RecoveryManager.py:255 - ZOOKEEPER_SERVER needs recovery, desired = STARTED, and current = INSTALLED. INFO 2017-09-21 11:22:40,297 Controller.py:410 - Adding recovery command START for component ZOOKEEPER_SERVER INFO 2017-09-21 11:22:40,300 Controller.py:249 - Adding 1 commands. Heartbeat id = 12 INFO 2017-09-21 11:22:40,300 ActionQueue.py:113 - Adding AUTO_EXECUTION_COMMAND for role ZOOKEEPER_SERVER for service ZOOKEEPER of cluster TEST to the queue. INFO 2017-09-21 11:22:40,306 ActionQueue.py:238 - Executing command with id = 1-0, taskId = 1505992937 for role = ZOOKEEPER_SERVER of cluster TEST. INFO 2017-09-21 11:22:40,306 ActionQueue.py:279 - Command execution metadata - taskId = 1505992937, retry enabled = False, max retry duration (sec) = 0, log_output = True ERROR 2017-09-21 11:22:40,306 CustomServiceOrchestrator.py:437 - Caught an exception while executing custom service command: <type 'exceptions.KeyError'>: 'service_package_folder'; 'service_package_folder' Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line 345, in runCommand base_dir = self.file_cache.get_service_base_dir(command, server_url_prefix) File "/usr/lib/python2.6/site-packages/ambari_agent/FileCache.py", line 76, in get_service_base_dir service_subpath = command['commandParams']['service_package_folder'] KeyError: 'service_package_folder'
Attachments
Attachments
Issue Links
- links to