ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-6361) Component status cannot be changed from INSTALL_FAIL to Disabled state
Date Mon, 14 Jul 2014 20:52:04 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jayush Luniya updated AMBARI-6361:
----------------------------------

    Attachment: Ambari-6361.2.patch

> Component status cannot be changed from INSTALL_FAIL to Disabled state
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-6361
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6361
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.6.1
>            Reporter: Jayush Luniya
>            Assignee: Jayush Luniya
>             Fix For: 1.7.0
>
>         Attachments: Ambari-6361.2.patch, Ambari-6361.patch
>
>
> If Component is in INSTALL_FAILED state, via api call, it cannot be changed to DISABLED
state
> {code}
> [root@amb-m20-ha2-1 ~]# curl -u admin:admin -H "X-Requested-By:ambari" -i -X PUT -d '{"RequestInfo":{"context":"NN
maintenance"},"Body":{"HostRoles":{"state":"DISABLED"}}}' http://172.18.145.221:8080/api/v1/clusters/cl1/hosts/amb-m20-ha2-1.cs1cloud.internal/host_components/NAMENODE
> HTTP/1.1 500 Server Error
> Set-Cookie: AMBARISESSIONID=vjn9z1hzcj3vo442rfczq4i3;Path=/
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Content-Type: text/plain
> Content-Length: 349
> Server: Jetty(7.6.7.v20120910)
> {
>   "status" : 500,
>   "message" : "org.apache.ambari.server.controller.spi.SystemException: An internal system
exception occurred: Invalid transition for servicecomponenthost, clusterName=cl1, clusterId=2,
serviceName=HDFS, componentName=NAMENODE, hostname=amb-m20-ha2-1.cs1cloud.internal, currentState=INSTALL_FAILED,
newDesiredState=DISABLED"
> }
> {code}



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

Mime
View raw message