You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Sen (JIRA)" <ji...@apache.org> on 2013/06/14 16:53:20 UTC

[jira] [Updated] (AMBARI-2112) Agent should not cache repo info to avoid situations of incorrect repo

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

Dmitry Sen updated AMBARI-2112:
-------------------------------

    Attachment: AMBARI-2112.patch

The patch contains changes to API, request "curl -u admin:admin -X PUT http://localhost:8080/api/v1/stacks2/" will force ambari-server to re-cache Ambari meta information, including repoinfo.xml.
In order to make work with local repositories easier, added new option to ambari-server script. So now there is no need to stop ambari-server, meta information can be updated/re-cached by executing "ambari-server update-metainfo" command.
                
> Agent should not cache repo info to avoid situations of incorrect repo
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-2112
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2112
>             Project: Ambari
>          Issue Type: Improvement
>    Affects Versions: 1.2.0
>            Reporter: Jeff Sposetti
>         Attachments: AMBARI-2112.patch
>
>
> The Agent reads the repos and caches. If you restart the Agent, the Agent will install the repo again.
> When attempting a Local Repository install, in the case where you forget to edit repoinfo.xml or incorrectly edit repoinfo.xml, the Agent would have cached the incorrect info. So restarting and clearing the Ambari Server won't help if you are trying to correct the repo info. You need to restart the Agents to clear the incorrect repo info.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira