Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
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"
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." }
Attachments
Issue Links
- links to