[ 
https://issues.apache.org/jira/browse/GOBBLIN-1027?focusedWorklogId=372778&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372778
 ]

ASF GitHub Bot logged work on GOBBLIN-1027:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Jan/20 04:41
            Start Date: 16/Jan/20 04:41
    Worklog Time Spent: 10m 
      Work Description: sv2000 commented on pull request #2870: [GOBBLIN-1027] 
add metrics for users running gaas jobs
URL: https://github.com/apache/incubator-gobblin/pull/2870#discussion_r367228156
 
 

 ##########
 File path: 
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManager.java
 ##########
 @@ -788,6 +794,33 @@ private ContextAwareCounter 
getRunningJobsCounter(DagNode<JobExecutionPlan> dagN
               dagNode.getValue().getSpecExecutor().getUri().toString()));
     }
 
+    private List<ContextAwareCounter> 
getRunningJobsCounterForUser(DagNode<JobExecutionPlan> dagNode) {
+      Properties props = 
dagNode.getValue().getJobSpec().getConfigAsProperties();
 
 Review comment:
   I think we should as a rule use typesafe config unless usage of Java 
properties is necessary (e.g. for Azkaban AbstractJob or maintaining backwards 
compatibility). Typesafe config has many advantages over Properties. In 
gobblin-service, we largely use typesafe config. From the point of view of 
maintaiining code uniformity, I think usage of config is desirable. We also 
have developed a bunch of utility methods around typesafe config in Gobblin 
ConfigUtils that has made the usage of types, 
 
----------------------------------------------------------------
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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 372778)
    Time Spent: 1.5h  (was: 1h 20m)

> monitor number of jobs submitted by users
> -----------------------------------------
>
>                 Key: GOBBLIN-1027
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1027
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to