[
https://issues.apache.org/jira/browse/AMBARI-22025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175478#comment-16175478
]
Hudson commented on AMBARI-22025:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8118 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8118/])
AMBARI-22025. Service auto start broken due to incomplete execution
(adoroszlai:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7c687bbc226b19f85a6f6f292537760e5d6d8048])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapper.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatMonitor.java
> Service auto start broken due to incomplete execution command
> -------------------------------------------------------------
>
> Key: AMBARI-22025
> URL: https://issues.apache.org/jira/browse/AMBARI-22025
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.6.0
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Blocker
> Fix For: 2.6.0
>
> Attachments: AMBARI-22025.patch
>
>
> 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.
> {noformat}
> 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'
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)