sv2000 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_r391187910
 
 

 ##########
 File path: 
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManager.java
 ##########
 @@ -747,6 +763,55 @@ private void submitJob(DagNode<JobExecutionPlan> dagNode) 
{
       }
     }
 
+    private void checkQuota(DagNode<JobExecutionPlan> dagNode) throws 
IOException {
+      String proxyUser = 
ConfigUtils.getString(dagNode.getValue().getJobSpec().getConfig(), 
AzkabanProjectConfig.USER_TO_PROXY, null);
+      String specExecutorUri = 
dagNode.getValue().getSpecExecutor().getUri().toString();
 
 Review comment:
   Create a method getSpecExecutorUri() in  DagManagerUtils?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to