-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30179/
-----------------------------------------------------------
(Updated Янв. 27, 2015, 6:49 п.п.)
Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Nate
Cole.
Changes
-------
Remerged together with dependent issue
Bugs: AMBARI-9275
https://issues.apache.org/jira/browse/AMBARI-9275
Repository: ambari
Description
-------
I registered a repo-version with URLs that have no repo
# http://apache.org
# http://apache.org
Then I attempted to install - which failed. Then when I attempt to deregister
the version, hit the following response
{code}
DELETE http://c6401:8080/api/v1/stacks/HDP/versions/2.2/repository_versions/3
{
"status" : 500,
"message" : "org.apache.ambari.server.controller.spi.SystemException:
Repository version can't be deleted as it is INSTALL_FAILED on cluster c1"
}
{code}
Diffs (updated)
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProvider.java
5422bdf
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
3516ffe
Diff: https://reviews.apache.org/r/30179/diff/
Testing
-------
Tests ok
Thanks,
Yurii Shylov