incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Sen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-2112) Agent should not cache repo info to avoid situations of incorrect repo
Date Fri, 14 Jun 2013 14:53:20 GMT

     [ 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

Mime
View raw message