You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by GitBox <gi...@apache.org> on 2020/03/11 20:12:09 UTC

[GitHub] [incubator-gobblin] jack-moseley commented on a change in pull request #2913: [GOBBLIN-1073] Add proxy user and requester quota to GaaS

jack-moseley commented on a change in pull request #2913: [GOBBLIN-1073] Add proxy user and requester quota to GaaS
URL: https://github.com/apache/incubator-gobblin/pull/2913#discussion_r391240148
 
 

 ##########
 File path: gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManager.java
 ##########
 @@ -362,6 +370,8 @@ public synchronized void setActive(boolean active) {
    */
   public static class DagManagerThread implements Runnable {
     private final Map<DagNode<JobExecutionPlan>, Dag<JobExecutionPlan>> jobToDag = new HashMap<>();
+    private static final Map<String, Integer> proxyUserToJobCount = new ConcurrentHashMap<>();
 
 Review comment:
   It is a global map since I made it static right? Or are you saying it shouldn't be global?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services