You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sandor Molnar (JIRA)" <ji...@apache.org> on 2018/10/01 07:41:00 UTC

[jira] [Commented] (AMBARI-24714) User aborted task reported as FAILED in Bgoperations

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

Sandor Molnar commented on AMBARI-24714:
----------------------------------------

SeeĀ [^abort_bg_operations.py]; I used this tool to reproduce the issue.

> User aborted task reported as FAILED in Bgoperations
> ----------------------------------------------------
>
>                 Key: AMBARI-24714
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24714
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Blocker
>             Fix For: 2.8.0
>
>         Attachments: abort_bg_operations.py
>
>
> User aborted task reported as FAILED in Bgoperations.
> 1. Install cluster with all services ( Including Druid)
> 2. Click on Stop all services
> 3. When BGoperations window is loaded, click on the abort button for the same task
> 4. The operation should be aborted and marked as Aborted with "Aborted by user" message in the sub tasks logs
> 5. But instead the operation is marked as failure.
> Failed task is Druid Coordinator Stop
> {code:java}
> "href": "https://ctr-e138-1518143905142-466827-01-000002.hwx.site:8443/api/v1/clusters/cl1/requests/59/stages/0/tasks/756",
> "Tasks": {
> "attempt_cnt": 1,
> "cluster_name": "cl1",
> "command": "STOP",
> "command_detail": "DRUID_COORDINATOR STOP",
> "end_time": 1536363316602,
> "error_log": "/var/lib/ambari-agent/data/errors-756.txt",
> "exit_code": 0,
> "host_name": "ctr-e138-1518143905142-466827-01-000005.hwx.site",
> "id": 756,
> "ops_display_name": null,
> "output_log": "/var/lib/ambari-agent/data/output-756.txt",
> "request_id": 59,
> "role": "DRUID_COORDINATOR",
> "stage_id": 0,
> "start_time": 1536363307548,
> "status": "FAILED",
> "stderr": "\nCommand aborted. Reason: 'Aborted by user'",
> "stdout": "\nCommand aborted. Reason: 'Aborted by user'\n\nCommand failed after 1 tries\n",
> "structured_out": {}
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)