You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/24 10:09:00 UTC
[jira] [Updated] (AMBARI-23941) Failure during re-installation of
services
[ https://issues.apache.org/jira/browse/AMBARI-23941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated AMBARI-23941:
------------------------------------
Labels: pull-request-available (was: )
> Failure during re-installation of services
> ------------------------------------------
>
> Key: AMBARI-23941
> URL: https://issues.apache.org/jira/browse/AMBARI-23941
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.7.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 2.7.0
>
>
> Steps to reproduce :
> 1) Create a healthy cluster
> 2) Stop a service and delete it(say Kafka or Zookeeper)
> 3) Try to reinstall the same service and the action fails.
> Seeing below error in ambari-agent.log
> {code:java}
> INFO 2018-05-21 10:17:56,852 ActionQueue.py:276 - Command execution metadata - taskId = 300, retry enabled = False, max retry duration (sec) = 0, log_output = True
> ERROR 2018-05-21 10:17:56,852 CustomServiceOrchestrator.py:448 - Caught an exception while executing custom service command: <type 'exceptions.KeyError'>: u'KAFKA'; u'KAFKA'
> Traceback (most recent call last):
> File "/usr/lib/ambari-agent/lib/ambari_agent/CustomServiceOrchestrator.py", line 322, in runCommand
> command = self.generate_command(command_header)
> File "/usr/lib/ambari-agent/lib/ambari_agent/CustomServiceOrchestrator.py", line 487, in generate_command
> command_dict = self.configuration_builder.get_configuration(cluster_id, service_name, component_name, required_config_timestamp)
> File "/usr/lib/ambari-agent/lib/ambari_agent/ConfigurationBuilder.py", line 50, in get_configuration
> command_dict['serviceLevelParams'] = metadata_cache.serviceLevelParams[service_name]
> KeyError: u'KAFKA'
> INFO 2018-05-21 10:17:56,853 ActionQueue.py:324 - Quit retrying for command with taskId = 300. Status: FAILED, retryAble: False, retryDuration (sec): -1, last delay (sec): 1
> INFO 2018-05-21 10:17:56,853 ActionQueue.py:339 - Command with taskId = 300 failed after 1 tries
> {code}
> Attaching the screenshot.
> I have tried the same action for Zookeeper and it fails with similar exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)