[ https://issues.apache.org/jira/browse/AMBARI-24121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandor Molnar updated AMBARI-24121: ----------------------------------- Status: Patch Available (was: Open) > Duration for a failed BG Operation is incorrect > ----------------------------------------------- > > Key: AMBARI-24121 > URL: https://issues.apache.org/jira/browse/AMBARI-24121 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.7.0 > Reporter: Srikanth Janardhan > Assignee: Sandor Molnar > Priority: Blocker > Labels: pull-request-available > Fix For: 2.7.0 > > Attachments: Screen Shot 2018-06-15 at 12.12.38 PM.png > > Time Spent: 4.5h > Remaining Estimate: 0h > > There are several failed install components and they report the incorrect > duration. > Example: Install Nodemanager failed and was executed only for a few seconds, > whereas in the Duration column, it shows 16 hours. > !Screen Shot 2018-06-15 at 12.12.38 PM.png! > Primarily because the output from the server has the end time as -1: > {noformat} > { > "itemTotal" : "10", > "items" : [ > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : -1, > "id" : 31, > "progress_percent" : 100.0, > "request_context" : "Install NFSGateway", > "request_status" : "FAILED", > "start_time" : 1528983750924, > "user_name" : "admin" > } > }, > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : -1, > "id" : 32, > "progress_percent" : 100.0, > "request_context" : "Install NodeManager", > "request_status" : "FAILED", > "start_time" : 1528983763421, > "user_name" : "admin" > } > }, > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : -1, > "id" : 33, > "progress_percent" : 100.0, > "request_context" : "Install YARN Client", > "request_status" : "FAILED", > "start_time" : 1528983776062, > "user_name" : "admin" > } > }, > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : 1528985439608, > "id" : 34, > "progress_percent" : 100.0, > "request_context" : "Reinstall Failed Components", > "request_status" : "COMPLETED", > "start_time" : 1528985380177, > "user_name" : "admin" > } > }, > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : 1528985625102, > "id" : 35, > "progress_percent" : 100.0, > "request_context" : "Reinstall Failed Components", > "request_status" : "COMPLETED", > "start_time" : 1528985594981, > "user_name" : "admin" > } > }, > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : 1528986079631, > "id" : 36, > "progress_percent" : 100.0, > "request_context" : "put services into STARTED", > "request_status" : "COMPLETED", > "start_time" : 1528986013070, > "user_name" : "admin" > } > }, > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : 1529043756536, > "id" : 37, > "progress_percent" : 100.0, > "request_context" : "Start Knox Gateway", > "request_status" : "FAILED", > "start_time" : 1529043756451, > "user_name" : "admin" > } > }, > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : -1, > "id" : 38, > "progress_percent" : 100.0, > "request_context" : "Install MapReduce2 Client", > "request_status" : "FAILED", > "start_time" : 1529044241508, > "user_name" : "admin" > } > }, > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : -1, > "id" : 39, > "progress_percent" : 100.0, > "request_context" : "Install Hive Client", > "request_status" : "FAILED", > "start_time" : 1529044679827, > "user_name" : "admin" > } > }, > { > "Requests" : { > "cluster_name" : "cl1", > "end_time" : -1, > "id" : 40, > "progress_percent" : 100.0, > "request_context" : "Install Metrics Collector", > "request_status" : "FAILED", > "start_time" : 1529045027390, > "user_name" : "admin" > } > } > ] > } > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)