You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/05/30 16:19:00 UTC

[jira] [Commented] (AMBARI-23941) Failure during re-installation of services

    [ https://issues.apache.org/jira/browse/AMBARI-23941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16495386#comment-16495386 ] 

Hudson commented on AMBARI-23941:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9363 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9363/])
[AMBARI-23941] Updating serviceLevelParams and clusterLevelParams in (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=02da908795aa0ba3ee151352b4346911d1a5481e])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/events/MetadataUpdateEvent.java
* (add) ambari-server/src/test/java/org/apache/ambari/server/agent/stomp/dto/MetadataClusterTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/dto/MetadataCluster.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/MetadataHolder.java


> 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
>
>          Time Spent: 6h
>  Remaining Estimate: 0h
>
> 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)