Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1C54F200CDD for ; Mon, 7 Aug 2017 15:26:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1AC9D1654E5; Mon, 7 Aug 2017 13:26:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3A2931654E3 for ; Mon, 7 Aug 2017 15:26:08 +0200 (CEST) Received: (qmail 11388 invoked by uid 500); 7 Aug 2017 13:26:07 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 11379 invoked by uid 99); 7 Aug 2017 13:26:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2017 13:26:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 019E318070A for ; Mon, 7 Aug 2017 13:26:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id U1Rjm95Rcnnx for ; Mon, 7 Aug 2017 13:26:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 205455F6C1 for ; Mon, 7 Aug 2017 13:26:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5AD66E0536 for ; Mon, 7 Aug 2017 13:26:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1957A23FFD for ; Mon, 7 Aug 2017 13:26:00 +0000 (UTC) Date: Mon, 7 Aug 2017 13:26:00 +0000 (UTC) From: "Andrii Tkach (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-21669) Provide ability on the UI to parse include/exclude files host task name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 07 Aug 2017 13:26:09 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrii Tkach updated AMBARI-21669: ---------------------------------- Status: Patch Available (was: Open) > Provide ability on the UI to parse include/exclude files host task name > ----------------------------------------------------------------------- > > Key: AMBARI-21669 > URL: https://issues.apache.org/jira/browse/AMBARI-21669 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.5.2 > Reporter: Andrii Tkach > Assignee: Andrii Tkach > Priority: Blocker > Fix For: 2.5.2 > > Attachments: AMBARI-21669.patch > > > UI should be able to parse "Update include/exclude files" host action > Currently requests looks like : > On delete slave {code}{ > "Requests" : { > "aborted_task_count" : 0, > "cluster_host_info" : "{\"all_racks\":[\"/default-rack:0-2\"],\"activity_analyzer_hosts\":[\"1\"],\"ambari_server_host\":[\"node1\"],\"app_timeline_server_hosts\":[\"0\"],\"ambari_server_use_ssl\":[\"false\"],\"hst_server_hosts\":[\"1\"],\"metrics_monitor_hosts\":[\"0-2\"],\"ambari_server_port\":[\"8080\"],\"metrics_collector_hosts\":[\"1\"],\"hs_host\":[\"0\"],\"namenode_host\":[\"1\"],\"zookeeper_hosts\":[\"0,1\"],\"snamenode_host\":[\"0\"],\"all_ping_ports\":[\"8670:0-2\"],\"slave_hosts\":[\"0,1\"],\"all_hosts\":[\"node1\"],\"all_ipv4_ips\":[\"172.22.66.150:2\",\"172.22.66.15:0\",\"172.22.66.148:1\"],\"metrics_grafana_hosts\":[\"1\"],\"hst_agent_hosts\":[\"0-2\"],\"nm_hosts\":[\"0-2\"],\"activity_explorer_hosts\":[\"1\"],\"rm_host\":[\"0\"]}", > "cluster_name" : "cl1", > "completed_task_count" : 1, > "create_time" : 1501836971166, > "end_time" : 1501836976978, > "exclusive" : true, > "failed_task_count" : 0, > "id" : 23, > "inputs" : "{\"update_files_only\":\"false\",\"multi_services_decom_request\":\"true\"}", > "operation_level" : null, > "progress_percent" : 100.0, > "queued_task_count" : 0, > "request_context" : "Update Include and Exclude Files for [HDFS]", > "request_schedule" : null, > "request_status" : "COMPLETED", > "resource_filters" : [ > { > "service_name" : "HDFS", > "component_name" : "NAMENODE" > } > ], > "start_time" : 1501836971190, > "task_count" : 1, > "timed_out_task_count" : 0, > "type" : "COMMAND" > }, > "stages" : [ > { } > ], > "tasks" : [ > { > "Tasks" : { > "command" : "CUSTOM_COMMAND", > "command_detail" : "DECOMMISSION", > "host_name" : "node1", > "id" : 88, > "request_id" : 23, > "role" : "NAMENODE", > "status" : "COMPLETED" > } > } > ] > }{code} > On add slave {code}{ > "Requests" : { > "aborted_task_count" : 0, > "cluster_host_info" : "{\"all_racks\":[\"/default-rack:0-2\"],\"activity_analyzer_hosts\":[\"1\"],\"ambari_server_host\":[\"node1\"],\"app_timeline_server_hosts\":[\"0\"],\"ambari_server_use_ssl\":[\"false\"],\"hst_server_hosts\":[\"1\"],\"metrics_monitor_hosts\":[\"0-2\"],\"ambari_server_port\":[\"8080\"],\"metrics_collector_hosts\":[\"1\"],\"hs_host\":[\"0\"],\"namenode_host\":[\"1\"],\"zookeeper_hosts\":[\"0,1\"],\"snamenode_host\":[\"0\"],\"all_ping_ports\":[\"8670:0-2\"],\"slave_hosts\":[\"0-2\"],\"all_hosts\":[\"node1\"],\"all_ipv4_ips\":[\"172.22.66.150:2\",\"172.22.66.15:0\",\"172.22.66.148:1\"],\"metrics_grafana_hosts\":[\"1\"],\"hst_agent_hosts\":[\"0-2\"],\"nm_hosts\":[\"0-2\"],\"activity_explorer_hosts\":[\"1\"],\"rm_host\":[\"0\"]}", > "cluster_name" : "cl1", > "completed_task_count" : 0, > "create_time" : 1501837064579, > "end_time" : -1, > "exclusive" : true, > "failed_task_count" : 0, > "id" : 25, > "inputs" : "{\"update_files_only\":\"false\",\"NAMENODE_included_hosts\":\"node1\",\"multi_services_decom_request\":\"true\"}", > "operation_level" : null, > "progress_percent" : 0.0, > "queued_task_count" : 0, > "request_context" : "Update Include and Exclude Files for [HDFS]", > "request_schedule" : null, > "request_status" : "PENDING", > "resource_filters" : [ > { > "service_name" : "HDFS", > "component_name" : "NAMENODE" > } > ], > "start_time" : -1, > "task_count" : 1, > "timed_out_task_count" : 0, > "type" : "COMMAND" > }, > "stages" : [ > { } > ], > "tasks" : [ > { > "Tasks" : { > "command" : "CUSTOM_COMMAND", > "command_detail" : "DECOMMISSION, Included: node1", > "host_name" : "node1", > "id" : 89, > "request_id" : 25, > "role" : "NAMENODE", > "status" : "PENDING" > } > } > ] > }{code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)