[
https://issues.apache.org/jira/browse/GOBBLIN-1073?focusedWorklogId=401695&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-401695
]
ASF GitHub Bot logged work on GOBBLIN-1073:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 11/Mar/20 19:17
Start Date: 11/Mar/20 19:17
Worklog Time Spent: 10m
Work Description: sv2000 commented on pull request #2913: [GOBBLIN-1073]
Add proxy user and requester quota to GaaS
URL: https://github.com/apache/incubator-gobblin/pull/2913#discussion_r391188073
##########
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();
+ boolean proxyUserCheck = true;
+ if (proxyUser != null) {
+ proxyUserCheck = incrementMapAndCheckQuota(proxyUserToJobCount,
proxyUser, dagNode);
+ }
+
+ String serializedRequesters =
ConfigUtils.getString(dagNode.getValue().getJobSpec().getConfig(),
RequesterService.REQUESTER_LIST, null);
Review comment:
same comment as for specExecutorUri.
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 401695)
Time Spent: 1h 10m (was: 1h)
> Add proxy user and requester quota to GaaS
> ------------------------------------------
>
> Key: GOBBLIN-1073
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1073
> Project: Apache Gobblin
> Issue Type: Improvement
> Reporter: Jack Moseley
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)