[
https://issues.apache.org/jira/browse/GOBBLIN-2052?focusedWorklogId=916986&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916986
]
ASF GitHub Bot logged work on GOBBLIN-2052:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Apr/24 10:02
Start Date: 30/Apr/24 10:02
Worklog Time Spent: 10m
Work Description: pradeepppc commented on code in PR #3932:
URL: https://github.com/apache/gobblin/pull/3932#discussion_r1584501832
##########
gobblin-yarn/src/main/java/org/apache/gobblin/yarn/YarnAutoScalingManager.java:
##########
@@ -299,27 +325,65 @@ void runInternal() {
// Remove this instance if existed in the tracking map.
instanceIdleSince.remove(participant);
}
+
+ if(instancesInInitState.contains(participant)) {
+ instanceInitStateSince.putIfAbsent(participant,
System.currentTimeMillis());
Review Comment:
the init time might be different from what we wanted to have here in the
map. The init time from the helix side will be the time when the task
originally created but we are accounting for the time when the task went back
to init state.
Issue Time Tracking
-------------------
Worklog Id: (was: 916986)
Time Spent: 1.5h (was: 1h 20m)
> Release container which is running yarn task that is stuck in INIT state
> ------------------------------------------------------------------------
>
> Key: GOBBLIN-2052
> URL: https://issues.apache.org/jira/browse/GOBBLIN-2052
> Project: Apache Gobblin
> Issue Type: Improvement
> Components: gobblin-yarn
> Reporter: pradeep pallikila
> Assignee: Abhishek Tiwari
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)