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 Lysnichenko (JIRA)" <ji...@apache.org> on 2014/03/18 21:00:53 UTC

[jira] [Commented] (AMBARI-5130) Ambari stack upgrade, cannot delete Mapreduce using UpgradeHelper_HDP2.py

    [ https://issues.apache.org/jira/browse/AMBARI-5130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939706#comment-13939706 ] 

Dmitry Lysnichenko commented on AMBARI-5130:
--------------------------------------------

+1

> Ambari stack upgrade, cannot delete Mapreduce using UpgradeHelper_HDP2.py
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-5130
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5130
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.0
>
>
> 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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)