-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19369/#review37620
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On March 18, 2014, 7:55 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19369/
> -----------------------------------------------------------
> 
> (Updated March 18, 2014, 7:55 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-5130
>     https://issues.apache.org/jira/browse/AMBARI-5130
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Following steps on 
> http://dev.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP2/HDP-2.1.0.0/bk_using_Ambari_book/content/ambari-chap9-4-1_2x.html
> 
> when trying to delete mapreduce, it complains "HISTORYSERVER is in a 
> non-removable state"
> {code}
> python UpgradeHelper_HDP2.py --hostname localhost --user admin --password 
> admin --clustername cl1 delete-mr
> Have you saved MR host mapping using action save-mr-mapping [y/n] (n)? y
> INFO:UpgradeHelper:/usr/bin/curl -u admin:admin -H X-Requested-By: ambari -X 
> PUT -d {"HostRoles": {"state": "DISABLED"}} 
> http://localhost:8080/api/v1/clusters/cl1/hosts/amb-upg-all-others-3.cs1cloud.internal/host_components/TASKTRACKER
> INFO:UpgradeHelper:/usr/bin/curl -u admin:admin -H X-Requested-By: ambari -X 
> PUT -d {"HostRoles": {"state": "DISABLED"}} 
> http://localhost:8080/api/v1/clusters/cl1/hosts/amb-upg-all-others-3.cs1cloud.internal/host_components/JOBTRACKER
> INFO:UpgradeHelper:/usr/bin/curl -u admin:admin -H X-Requested-By: ambari -X 
> DELETE http://localhost:8080/api/v1/clusters/cl1/services/MAPREDUCE
> 'ERROR: Exiting with exit code 1. Reason: {\n  "status" : 500,\n  "message" : 
> "org.apache.ambari.server.controller.spi.SystemException: An internal system 
> exception occurred: Cannot remove cl1/MAPREDUCE. HISTORYSERVER is in a 
> non-removable state."\n}'
> ERROR:UpgradeHelper:ERROR: Exiting with exit code 1. Reason: {
>   "status" : 500,
>   "message" : "org.apache.ambari.server.controller.spi.SystemException: An 
> internal system exception occurred: Cannot remove cl1/MAPREDUCE. 
> HISTORYSERVER is in a non-removable state."
> }
> {code}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/UpgradeHelper_HDP2.py 13d5c31 
>   ambari-server/src/test/python/TestUpgradeScript_HDP2.py dcad96c 
> 
> Diff: https://reviews.apache.org/r/19369/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to