You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2018/04/04 14:03:00 UTC

[jira] [Updated] (AMBARI-23458) Creating component instances shouldn't fail if instance already exists when called from the agent

     [ https://issues.apache.org/jira/browse/AMBARI-23458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Sen updated AMBARI-23458:
--------------------------------
    Description: 
Reinstall operation fails because the component instance already exists.
ValueError: The instance /usr/hwx/instances/hdpcore/HDPCORE/default/zookeeper_client already exist. To change the version use set-mpack-instance command

Need to add fail_if_exists flag to instance creation command and  set it to False when called from mpack_manager_helper.

  was:
Reinstall operation fails because the component instance already exists.
ValueError: The instance /usr/hwx/instances/hdpcore/HDPCORE/default/zookeeper_client already exist. To change the version use set-mpack-instance command{code}

Need to add fail_if_exists flag to instance creation command and  set it to False when called from mpack_manager_helper.


> Creating component instances shouldn't fail if instance already exists when called from the agent
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-23458
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23458
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Reinstall operation fails because the component instance already exists.
> ValueError: The instance /usr/hwx/instances/hdpcore/HDPCORE/default/zookeeper_client already exist. To change the version use set-mpack-instance command
> Need to add fail_if_exists flag to instance creation command and  set it to False when called from mpack_manager_helper.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)