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:
[email protected]


With regards,
Apache Git Services

Reply via email to