[ 
https://issues.apache.org/jira/browse/GOBBLIN-1575?focusedWorklogId=682964&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-682964
 ]

ASF GitHub Bot logged work on GOBBLIN-1575:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Nov/21 22:24
            Start Date: 17/Nov/21 22:24
    Worklog Time Spent: 10m 
      Work Description: phet commented on a change in pull request #3427:
URL: https://github.com/apache/gobblin/pull/3427#discussion_r751685140



##########
File path: 
gobblin-cluster/src/main/java/org/apache/gobblin/cluster/HelixRetriggeringJobCallable.java
##########
@@ -263,7 +275,7 @@ private void runJobExecutionLauncher() throws JobException {
       jobLock.lock();
 
       try {
-        if (planningJobIdFromStore.isPresent() && 
!canRun(planningJobIdFromStore.get(), planningJobManager)) {
+        if (planningJobIdFromStore.isPresent() && 
!canRun(planningJobIdFromStore.get(), planningJobHelixManager)) {

Review comment:
       aah, darn, yes, frustrating...




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 682964)
    Time Spent: 1h 10m  (was: 1h)

> use distinct HelixJobManager
> ----------------------------
>
>                 Key: GOBBLIN-1575
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1575
>             Project: Apache Gobblin
>          Issue Type: Bug
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> GobblinTaskRunner creates a HelixManager and passes it to HelixJobTask. When 
> the GobblinTaskRunner is stopped, it disconnects to HelixManager, but because 
> the HelixJobTask is also using the same HelixManager object, it cannot use it 
> do its own shutdown operation. This PR will make a copy of HelixManager to be 
> used by HelixJobTask 's.
> Same argument with GobblinClusterManager passing the same HelixManager object 
> to 
> [HelixRetriggeringJobCallable|https://github.com/apache/gobblin/pull/3427/files#diff-28c7588c2dc9414f72d21e77aa21d3e3a7f098a0c4842429944d9a398eee8706]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to