eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EAGLE-800) Use InterProcessMutex to sync operation in RunningJobManager
Date Fri, 25 Nov 2016 06:31:00 GMT

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

ASF GitHub Bot commented on EAGLE-800:
--------------------------------------

Github user r7raul1984 commented on a diff in the pull request:

    https://github.com/apache/incubator-eagle/pull/684#discussion_r89569577
  
    --- Diff: eagle-jpm/eagle-jpm-util/src/main/java/org/apache/eagle/jpm/util/jobrecover/RunningJobManager.java
---
    @@ -49,12 +53,21 @@ private CuratorFramework newCurator(String zkQuorum, int zkSessionTimeoutMs,
int
             );
         }
     
    -    public RunningJobManager(String zkQuorum, int zkSessionTimeoutMs, int zkRetryTimes,
int zkRetryInterval, String zkRoot) {
    +    public RunningJobManager(String zkQuorum, int zkSessionTimeoutMs, int zkRetryTimes,
int zkRetryInterval, String zkRoot, String siteId) {
    --- End diff --
    
    OK. I will generate lockpath in utility class.Then RunningJobManager will use it. Lockpath
format is /apps/{app}/{site}/locks.


> Use InterProcessMutex to sync operation in RunningJobManager
> ------------------------------------------------------------
>
>                 Key: EAGLE-800
>                 URL: https://issues.apache.org/jira/browse/EAGLE-800
>             Project: Eagle
>          Issue Type: Improvement
>            Reporter: JiJun Tang
>            Assignee: JiJun Tang
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message