ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-6917) DataNode didn't start recommissioning after decommission, turning on and off Maintenance Mode
Date Tue, 19 Aug 2014 18:17:19 GMT

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

Dmitry Lysnichenko resolved AMBARI-6917.
----------------------------------------

    Resolution: Fixed

Committed to trunk

> DataNode didn't start recommissioning after decommission, turning on and off Maintenance
Mode
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-6917
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6917
>             Project: Ambari
>          Issue Type: Task
>          Components: controller
>    Affects Versions: 1.7.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.7.0
>
>
> Steps:
> Start decommissioning any DataNode.
> Wait for DataNode will be decommissioned.
> Try to recommiss DataNode.
> Result: was opened confirmation window and Background Operations window but last does
not contain Recommission operation.
> Response is attached.
> {code}
> {
> href: "http://host:8080/api/v1/clusters/cl1/request_schedules/22",
> RequestSchedule: {
> batch: {
> batch_requests: [
> {
> order_id: 1,
> request_type: "POST",
> request_uri: "/api/v1/clusters/cl1/requests",
> request_body: "{"RequestInfo":{"context":"Recommission DataNode","command":"DECOMMISSION","parameters":{"slave_type":"DATANODE","included_hosts":"host1"},"operation_level":{"level":"HOST_COMPONENT","cluster_name":"cl1","host_name":"host1","service_name":"HDFS"}},"Requests/resource_filters":[{"service_name":"HDFS","component_name":"NAMENODE"}]}",
> request_status: "FAILED",
> return_code: 403,
> response_message: "Forbidden"
> },
> {
> order_id: 2,
> request_type: "PUT",
> request_uri: "/api/v1/clusters/cl1/host_components",
> request_body: "{"RequestInfo":{"context":"Start DataNode","query":"HostRoles/component_name=DATANODE&HostRoles/host_name.in(host1)&HostRoles/maintenance_state=OFF"},"Body":{"HostRoles":{"state":"STARTED"}}}",
> request_status: "FAILED",
> return_code: 403,
> response_message: "Forbidden"
> }
> ],
> batch_settings: {
> batch_separation_in_seconds: 1,
> task_failure_tolerance_limit: 1
> }
> },
> cluster_name: "cl1",
> description: null,
> id: 22,
> last_execution_status: "FAILED",
> schedule: null,
> status: "COMPLETED"
> }
> }
> {code}



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

Mime
View raw message