apache / yunikorn-core
File Change Frequency

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

Overview
File Change Frequency Overall
  • There are 110 files with 16,780 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 4 files changed 51-100 times (3,613 lines of code)
    • 14 files changed 21-50 times (5,669 lines of code)
    • 43 files changed 6-20 times (5,154 lines of code)
    • 49 files changed 1-5 times (2,344 lines of code)
0% | 21% | 33% | 30% | 13%
Legend:
101+
51-100
21-50
6-20
1-5

explore: grouped by folders | grouped by update frequency | data
Contributors Count Frequency Overall
  • There are 110 files with 16,780 lines of code.
    • 1 file changed by more than 25 contributors (802 lines of code)
    • 21 files changed by 11-25 contributors (8,631 lines of code)
    • 29 files changed by 6-10 contributors (2,892 lines of code)
    • 44 files changed by 2-5 contributors (3,827 lines of code)
    • 15 files changed by 1 contributor (628 lines of code)
4% | 51% | 17% | 22% | 3%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
go, yaml, yml, txt, mod, sh, gitignore, md, json
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
go0% | 21% | 34% | 30% | 13%
yaml0% | 0% | 0% | 59% | 40%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
pkg0% | 21% | 34% | 29% | 13%
cmd0% | 0% | 0% | 100% | 0%
config0% | 0% | 0% | 59% | 40%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
handlers.go
in pkg/webservice
802 49 2019-03-20 2023-07-26 98 31 weiwei.yang@cloudera.com pbacsko@cloudera.com
application.go
in pkg/scheduler/objects
1562 102 2020-11-20 2023-08-08 83 21 wilfreds@apache.org yangpoan@gmail.com
partition.go
in pkg/scheduler
1118 69 2020-11-20 2023-08-07 55 22 wilfreds@apache.org pbacsko@cloudera.com
scheduler.go
in pkg/scheduler
131 12 2019-03-14 2023-06-21 51 17 wwei@apache.org ccondit@apache.org
queue.go
in pkg/scheduler/objects
1405 97 2020-11-20 2023-07-28 48 20 wilfreds@apache.org pbacsko@cloudera.com
context.go
in pkg/scheduler
739 36 2020-11-20 2023-08-08 43 23 wilfreds@apache.org yangpoan@gmail.com
configvalidator.go
in pkg/common/configs
637 21 2019-04-09 2023-08-07 41 21 wspiegelenburg@cloudera.com sahaaj.chawla@macbook-pro-3...
resources.go
in pkg/common/resources
681 51 2019-03-14 2023-08-03 39 18 wwei@apache.org wilfreds@apache.org
routes.go
in pkg/webservice
230 - 2019-03-20 2023-07-26 35 16 weiwei.yang@cloudera.com pbacsko@cloudera.com
rmproxy.go
in pkg/rmproxy
326 21 2019-03-14 2023-06-21 34 13 wwei@apache.org ccondit@apache.org
node.go
in pkg/scheduler/objects
444 43 2020-11-20 2023-08-02 34 15 wilfreds@apache.org pbacsko@cloudera.com
config.go
in pkg/common/configs
127 4 2019-03-14 2023-06-27 31 16 wwei@apache.org t3742238@gmail.com
scheduler.go
in pkg/metrics
330 54 2019-06-27 2023-08-01 28 13 wspiegelenburg@cloudera.com ccondit@apache.org
entrypoint.go
in pkg/entrypoint
70 4 2019-03-14 2023-08-07 24 10 wwei@apache.org pbacsko@cloudera.com
partition_manager.go
in pkg/scheduler
125 7 2019-05-16 2023-06-21 24 14 wspiegelenburg@cloudera.com ccondit@apache.org
application_state.go
in pkg/scheduler/objects
182 3 2020-11-20 2023-07-19 23 13 wilfreds@apache.org rainieli@pinterest.com
utils.go
in pkg/common
208 19 2019-03-14 2023-08-03 23 13 wwei@apache.org mitdesai21@gmail.com
init.go
in pkg/metrics
165 7 2019-09-23 2023-08-01 21 12 weiwei.yang@cloudera.com ccondit@apache.org
application_info.go
in pkg/webservice/dao
36 - 2019-03-27 2023-08-01 20 11 weiwei.yang@cloudera.com yangpoan@gmail.com
webservice.go
in pkg/webservice
63 5 2019-03-20 2023-06-21 20 12 weiwei.yang@cloudera.com ccondit@apache.org
plugins.go
in pkg/plugins
44 6 2019-05-31 2023-06-21 19 8 weiwei.yang@cloudera.com ccondit@apache.org
allocation.go
in pkg/scheduler/objects
298 42 2020-11-20 2023-08-08 19 8 wilfreds@apache.org yangpoan@gmail.com
events.go
in pkg/rmproxy/rmevent
61 - 2019-03-14 2022-11-14 18 11 wwei@apache.org ccondit@apache.org
types.go
in pkg/plugins
10 - 2019-06-04 2022-12-01 17 9 weiwei.yang@cloudera.com ccondit@apache.org
queue_info.go
in pkg/webservice/dao
40 - 2019-03-20 2023-08-01 17 11 sgovindan@cloudera.com yangpoan@gmail.com
allocation_ask.go
in pkg/scheduler/objects
202 28 2020-11-20 2023-06-21 17 7 wilfreds@apache.org ccondit@apache.org
queue.go
in pkg/metrics
90 18 2019-06-27 2023-06-21 15 9 wspiegelenburg@cloudera.com ccondit@apache.org
acl.go
in pkg/common/security
102 5 2019-04-09 2023-06-26 15 7 wspiegelenburg@cloudera.com manirajv06@gmail.com
simplescheduler.go
in cmd/simplescheduler
109 6 2019-03-14 2023-06-22 15 10 wwei@apache.org yangpoan@gmail.com
partition_info.go
in pkg/webservice/dao
21 - 2019-03-20 2023-08-01 14 11 sgovindan@cloudera.com yangpoan@gmail.com
service_context.go
in pkg/entrypoint
22 1 2019-04-30 2023-06-21 14 8 weiwei.yang@cloudera.com ccondit@apache.org
state_dump.go
in pkg/webservice
67 3 2021-11-16 2023-08-01 14 7 pbacsko@cloudera.com yangpoan@gmail.com
server.go
in pkg/common
95 9 2019-03-14 2023-06-21 14 8 wwei@apache.org ccondit@apache.org
manager.go
in pkg/scheduler/ugm
542 31 2022-11-04 2023-08-07 14 5 manirajv06@gmail.com manirajv06@gmail.com
placement.go
in pkg/scheduler/placement
157 6 2019-08-16 2023-06-21 13 9 wilfred-s@users.noreply.git... ccondit@apache.org
provided_rule.go
in pkg/scheduler/placement
72 3 2019-08-16 2023-06-21 12 9 wilfred-s@users.noreply.git... ccondit@apache.org
configs.go
in pkg/common/configs
85 9 2019-03-14 2023-08-03 12 6 wwei@apache.org mitdesai21@gmail.com
health_checker.go
in pkg/scheduler
296 19 2020-12-16 2023-06-29 12 8 kmarton@cloudera.com ccondit@apache.org
logger.go
in pkg/log
204 13 2019-07-05 2023-06-28 11 7 weiwei.yang@cloudera.com ccondit@apache.org
queue_tracker.go
in pkg/scheduler/ugm
310 11 2022-11-04 2023-08-07 11 4 manirajv06@gmail.com manirajv06@gmail.com
cluster_info.go
in pkg/webservice/dao
7 - 2019-03-20 2023-08-01 10 8 sgovindan@cloudera.com yangpoan@gmail.com
rule.go
in pkg/scheduler/placement
58 5 2019-08-16 2023-06-21 10 8 wilfred-s@users.noreply.git... ccondit@apache.org
client.go
in cmd/schedulerclient
64 1 2019-03-13 2022-03-25 10 8 wwei@apache.org ccondit@apache.org
user_rule.go
in pkg/scheduler/placement
67 3 2019-08-16 2023-06-21 10 8 wilfred-s@users.noreply.git... ccondit@apache.org
tag_rule.go
in pkg/scheduler/placement
79 3 2019-08-16 2023-06-21 10 8 wilfred-s@users.noreply.git... ccondit@apache.org
fixed_rule.go
in pkg/scheduler/placement
80 3 2019-08-16 2023-06-21 10 8 wilfred-s@users.noreply.git... ccondit@apache.org
filter.go
in pkg/scheduler/placement
131 5 2019-08-16 2023-06-21 10 7 wilfred-s@users.noreply.git... ccondit@apache.org
sorters.go
in pkg/scheduler/objects
187 11 2020-11-20 2023-06-06 10 7 wilfreds@apache.org pbacsko@cloudera.com
event_handlers.go
in pkg/handler
8 - 2019-03-14 2020-11-20 8 6 wwei@apache.org wilfreds@apache.org
node_info.go
in pkg/webservice/dao
20 - 2020-03-04 2023-08-01 8 7 wwei@apache.org yangpoan@gmail.com
Files With Most Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
handlers.go
in pkg/webservice
802 49 2019-03-20 2023-07-26 98 31 weiwei.yang@cloudera.com pbacsko@cloudera.com
context.go
in pkg/scheduler
739 36 2020-11-20 2023-08-08 43 23 wilfreds@apache.org yangpoan@gmail.com
partition.go
in pkg/scheduler
1118 69 2020-11-20 2023-08-07 55 22 wilfreds@apache.org pbacsko@cloudera.com
application.go
in pkg/scheduler/objects
1562 102 2020-11-20 2023-08-08 83 21 wilfreds@apache.org yangpoan@gmail.com
configvalidator.go
in pkg/common/configs
637 21 2019-04-09 2023-08-07 41 21 wspiegelenburg@cloudera.com sahaaj.chawla@macbook-pro-3...
queue.go
in pkg/scheduler/objects
1405 97 2020-11-20 2023-07-28 48 20 wilfreds@apache.org pbacsko@cloudera.com
resources.go
in pkg/common/resources
681 51 2019-03-14 2023-08-03 39 18 wwei@apache.org wilfreds@apache.org
scheduler.go
in pkg/scheduler
131 12 2019-03-14 2023-06-21 51 17 wwei@apache.org ccondit@apache.org
routes.go
in pkg/webservice
230 - 2019-03-20 2023-07-26 35 16 weiwei.yang@cloudera.com pbacsko@cloudera.com
config.go
in pkg/common/configs
127 4 2019-03-14 2023-06-27 31 16 wwei@apache.org t3742238@gmail.com
node.go
in pkg/scheduler/objects
444 43 2020-11-20 2023-08-02 34 15 wilfreds@apache.org pbacsko@cloudera.com
partition_manager.go
in pkg/scheduler
125 7 2019-05-16 2023-06-21 24 14 wspiegelenburg@cloudera.com ccondit@apache.org
rmproxy.go
in pkg/rmproxy
326 21 2019-03-14 2023-06-21 34 13 wwei@apache.org ccondit@apache.org
scheduler.go
in pkg/metrics
330 54 2019-06-27 2023-08-01 28 13 wspiegelenburg@cloudera.com ccondit@apache.org
application_state.go
in pkg/scheduler/objects
182 3 2020-11-20 2023-07-19 23 13 wilfreds@apache.org rainieli@pinterest.com
utils.go
in pkg/common
208 19 2019-03-14 2023-08-03 23 13 wwei@apache.org mitdesai21@gmail.com
init.go
in pkg/metrics
165 7 2019-09-23 2023-08-01 21 12 weiwei.yang@cloudera.com ccondit@apache.org
webservice.go
in pkg/webservice
63 5 2019-03-20 2023-06-21 20 12 weiwei.yang@cloudera.com ccondit@apache.org
application_info.go
in pkg/webservice/dao
36 - 2019-03-27 2023-08-01 20 11 weiwei.yang@cloudera.com yangpoan@gmail.com
events.go
in pkg/rmproxy/rmevent
61 - 2019-03-14 2022-11-14 18 11 wwei@apache.org ccondit@apache.org
queue_info.go
in pkg/webservice/dao
40 - 2019-03-20 2023-08-01 17 11 sgovindan@cloudera.com yangpoan@gmail.com
partition_info.go
in pkg/webservice/dao
21 - 2019-03-20 2023-08-01 14 11 sgovindan@cloudera.com yangpoan@gmail.com
entrypoint.go
in pkg/entrypoint
70 4 2019-03-14 2023-08-07 24 10 wwei@apache.org pbacsko@cloudera.com
simplescheduler.go
in cmd/simplescheduler
109 6 2019-03-14 2023-06-22 15 10 wwei@apache.org yangpoan@gmail.com
types.go
in pkg/plugins
10 - 2019-06-04 2022-12-01 17 9 weiwei.yang@cloudera.com ccondit@apache.org
queue.go
in pkg/metrics
90 18 2019-06-27 2023-06-21 15 9 wspiegelenburg@cloudera.com ccondit@apache.org
placement.go
in pkg/scheduler/placement
157 6 2019-08-16 2023-06-21 13 9 wilfred-s@users.noreply.git... ccondit@apache.org
provided_rule.go
in pkg/scheduler/placement
72 3 2019-08-16 2023-06-21 12 9 wilfred-s@users.noreply.git... ccondit@apache.org
plugins.go
in pkg/plugins
44 6 2019-05-31 2023-06-21 19 8 weiwei.yang@cloudera.com ccondit@apache.org
allocation.go
in pkg/scheduler/objects
298 42 2020-11-20 2023-08-08 19 8 wilfreds@apache.org yangpoan@gmail.com
server.go
in pkg/common
95 9 2019-03-14 2023-06-21 14 8 wwei@apache.org ccondit@apache.org
service_context.go
in pkg/entrypoint
22 1 2019-04-30 2023-06-21 14 8 weiwei.yang@cloudera.com ccondit@apache.org
health_checker.go
in pkg/scheduler
296 19 2020-12-16 2023-06-29 12 8 kmarton@cloudera.com ccondit@apache.org
client.go
in cmd/schedulerclient
64 1 2019-03-13 2022-03-25 10 8 wwei@apache.org ccondit@apache.org
fixed_rule.go
in pkg/scheduler/placement
80 3 2019-08-16 2023-06-21 10 8 wilfred-s@users.noreply.git... ccondit@apache.org
tag_rule.go
in pkg/scheduler/placement
79 3 2019-08-16 2023-06-21 10 8 wilfred-s@users.noreply.git... ccondit@apache.org
rule.go
in pkg/scheduler/placement
58 5 2019-08-16 2023-06-21 10 8 wilfred-s@users.noreply.git... ccondit@apache.org
user_rule.go
in pkg/scheduler/placement
67 3 2019-08-16 2023-06-21 10 8 wilfred-s@users.noreply.git... ccondit@apache.org
cluster_info.go
in pkg/webservice/dao
7 - 2019-03-20 2023-08-01 10 8 sgovindan@cloudera.com yangpoan@gmail.com
allocation_ask.go
in pkg/scheduler/objects
202 28 2020-11-20 2023-06-21 17 7 wilfreds@apache.org ccondit@apache.org
acl.go
in pkg/common/security
102 5 2019-04-09 2023-06-26 15 7 wspiegelenburg@cloudera.com manirajv06@gmail.com
state_dump.go
in pkg/webservice
67 3 2021-11-16 2023-08-01 14 7 pbacsko@cloudera.com yangpoan@gmail.com
logger.go
in pkg/log
204 13 2019-07-05 2023-06-28 11 7 weiwei.yang@cloudera.com ccondit@apache.org
sorters.go
in pkg/scheduler/objects
187 11 2020-11-20 2023-06-06 10 7 wilfreds@apache.org pbacsko@cloudera.com
filter.go
in pkg/scheduler/placement
131 5 2019-08-16 2023-06-21 10 7 wilfred-s@users.noreply.git... ccondit@apache.org
node_info.go
in pkg/webservice/dao
20 - 2020-03-04 2023-08-01 8 7 wwei@apache.org yangpoan@gmail.com
usergroup.go
in pkg/common/security
158 7 2019-08-16 2023-06-21 8 7 wilfred-s@users.noreply.git... ccondit@apache.org
configs.go
in pkg/common/configs
85 9 2019-03-14 2023-08-03 12 6 wwei@apache.org mitdesai21@gmail.com
queues.yaml
in config
65 - 2019-04-09 2022-03-23 8 6 wspiegelenburg@cloudera.com ccondit@apache.org
event_handlers.go
in pkg/handler
8 - 2019-03-14 2020-11-20 8 6 wwei@apache.org wilfreds@apache.org
Files With Least Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
128 9 2020-11-16 2020-11-16 1 1 zwh266889@alibaba-inc.com zwh266889@alibaba-inc.com
node_events.go
in pkg/scheduler/objects
109 11 2023-06-29 2023-08-07 3 1 pbacsko@cloudera.com pbacsko@cloudera.com
queue_events.go
in pkg/scheduler/objects
84 8 2023-07-11 2023-08-07 2 1 pbacsko@cloudera.com pbacsko@cloudera.com
quantity.go
in pkg/common/resources
59 3 2022-03-17 2022-03-17 1 1 ccondit@apache.org ccondit@apache.org
rmproxy_mock.go
in pkg/rmproxy
47 4 2022-06-09 2022-06-09 1 1 manirajv06@gmail.com manirajv06@gmail.com
sorted_asks.go
in pkg/scheduler/objects
35 4 2023-06-06 2023-06-06 1 1 pbacsko@cloudera.com pbacsko@cloudera.com
utilities.go
in pkg/scheduler/ugm
29 2 2023-06-15 2023-07-28 2 1 manirajv06@gmail.com manirajv06@gmail.com
28 5 2023-06-20 2023-06-20 1 1 ccondit@apache.org ccondit@apache.org
preemption_policy.go
in pkg/scheduler/policies
26 2 2022-12-14 2022-12-14 1 1 ccondit@apache.org ccondit@apache.org
sorting_policy.go
in pkg/scheduler/policies
26 2 2020-05-22 2020-05-22 1 1 wilfreds@apache.org wilfreds@apache.org
priority_policy.go
in pkg/scheduler/policies
23 2 2022-12-14 2022-12-14 1 1 ccondit@apache.org ccondit@apache.org
tracker.go
in pkg/scheduler/ugm
13 - 2022-11-04 2023-06-26 2 1 manirajv06@gmail.com manirajv06@gmail.com
event_record.go
in pkg/webservice/dao
9 - 2023-07-26 2023-07-26 1 1 pbacsko@cloudera.com pbacsko@cloudera.com
types.go
in pkg/scheduler/placement/types
8 - 2023-03-14 2023-03-14 1 1 pbacsko@cloudera.com pbacsko@cloudera.com
node_listener.go
in pkg/scheduler/objects
4 - 2021-08-30 2021-08-30 1 1 apache@craigcondit.com apache@craigcondit.com
runtime.go
in pkg/metrics
195 9 2022-02-21 2023-06-21 3 2 pbacsko@cloudera.com ccondit@apache.org
event_ringbuffer.go
in pkg/events
175 11 2023-06-29 2023-08-03 3 2 pbacsko@cloudera.com mitdesai21@gmail.com
user_tracker.go
in pkg/scheduler/ugm
126 14 2022-11-04 2023-08-07 8 2 manirajv06@gmail.com manirajv06@gmail.com
group_tracker.go
in pkg/scheduler/ugm
101 13 2022-11-04 2023-08-07 8 2 manirajv06@gmail.com manirajv06@gmail.com
event.go
in pkg/metrics
94 9 2020-06-25 2022-02-01 2 2 adam.antal@cloudera.com wilfreds@apache.org
88 4 2020-11-16 2023-06-21 3 2 zwh266889@alibaba-inc.com ccondit@apache.org
template.go
in pkg/scheduler/objects/template
81 6 2021-08-20 2022-03-25 3 2 chia7712@gmail.com ccondit@apache.org
trace_utils.go
in pkg/scheduler
49 2 2020-11-16 2022-03-25 2 2 zwh266889@alibaba-inc.com ccondit@apache.org
internal_metrics.go
in pkg/metrics/history
48 4 2020-04-03 2021-11-16 2 2 adam.antal@cloudera.com pbacsko@cloudera.com
utils.go
in pkg/trace
47 2 2020-11-16 2023-06-21 3 2 zwh266889@alibaba-inc.com ccondit@apache.org
node_iterator.go
in pkg/scheduler/objects
27 2 2021-08-30 2023-07-18 2 2 apache@craigcondit.com pbacsko@cloudera.com
scheduler-health.go
in pkg/webservice/dao
23 2 2020-12-16 2023-08-01 2 2 kmarton@cloudera.com yangpoan@gmail.com
nodesorting_policy.go
in pkg/scheduler/policies
22 2 2020-11-20 2021-08-11 2 2 wilfreds@apache.org github@craigcondit.com
ugm_info.go
in pkg/webservice/dao
20 - 2022-11-04 2023-08-01 3 2 manirajv06@gmail.com yangpoan@gmail.com
error_info.go
in pkg/webservice/dao
17 1 2021-04-12 2023-08-01 2 2 manirajv06@gmail.com yangpoan@gmail.com
node_util.go
in pkg/webservice/dao
10 - 2020-10-06 2023-08-01 2 2 yangpoan@gmail.com
cluster_util.go
in pkg/webservice/dao
7 - 2020-10-05 2023-08-01 2 2 yangpoan@gmail.com
constants.go
in pkg/common
7 - 2023-06-26 2023-06-29 2 2 manirajv06@gmail.com pbacsko@cloudera.com
application_history.go
in pkg/webservice/dao
5 - 2020-04-03 2023-08-01 2 2 adam.antal@cloudera.com yangpoan@gmail.com
config_info.go
in pkg/webservice/dao
5 - 2020-09-09 2023-08-01 2 2 kmarton@cloudera.com yangpoan@gmail.com
container_history.go
in pkg/webservice/dao
5 - 2020-04-03 2023-08-01 2 2 adam.antal@cloudera.com yangpoan@gmail.com
event_system.go
in pkg/events
164 16 2023-06-09 2023-08-07 5 3 pbacsko@cloudera.com pbacsko@cloudera.com
required_node_preemptor.go
in pkg/scheduler/objects
110 5 2022-12-01 2023-03-28 3 3 qzhu@cloudera.com ccondit@apache.org
application_events.go
in pkg/scheduler/objects
102 11 2023-06-22 2023-08-07 4 3 yangpoan@gmail.com pbacsko@cloudera.com
reservation.go
in pkg/scheduler/objects
65 5 2020-11-20 2023-06-21 6 3 wilfreds@apache.org ccondit@apache.org
usergroup_test_resolver.go
in pkg/common/security
64 4 2019-08-16 2020-02-06 3 3 wilfred-s@users.noreply.git... sunilg@apache.org
object_state.go
in pkg/scheduler/objects
53 3 2020-11-20 2023-06-21 4 3 wilfreds@apache.org ccondit@apache.org
event_store.go
in pkg/events
42 4 2020-06-25 2023-06-09 5 3 adam.antal@cloudera.com pbacsko@cloudera.com
events.go
in pkg/events
31 5 2020-06-25 2023-07-11 5 3 adam.antal@cloudera.com pbacsko@cloudera.com
usergroup_no_resolver.go
in pkg/common/security
29 4 2019-08-16 2020-02-06 3 3 wilfred-s@users.noreply.git... sunilg@apache.org
usergroup_os_resolver.go
in pkg/common/security
17 2 2019-08-16 2020-02-06 3 3 wilfred-s@users.noreply.git... sunilg@apache.org
scheduling_metrics.go
in pkg/scheduler
1 - 2019-04-12 2020-02-06 5 3 sunilg@apache.org sunilg@apache.org
queue_tracker.go
in pkg/scheduler/ugm
310 11 2022-11-04 2023-08-07 11 4 manirajv06@gmail.com manirajv06@gmail.com
node_collection.go
in pkg/scheduler/objects
168 14 2021-08-30 2023-07-18 6 4 apache@craigcondit.com pbacsko@cloudera.com
metrics_collector.go
in pkg/metrics
62 5 2020-04-03 2023-06-21 5 4 adam.antal@cloudera.com ccondit@apache.org
Correlations

File Size vs. Number of Changes: 110 points

pkg/scheduler/context.go x: 739 lines of code y: 43 # changes pkg/scheduler/objects/allocation.go x: 298 lines of code y: 19 # changes pkg/scheduler/objects/application.go x: 1562 lines of code y: 83 # changes pkg/entrypoint/entrypoint.go x: 70 lines of code y: 24 # changes pkg/events/event_system.go x: 164 lines of code y: 5 # changes pkg/scheduler/objects/application_events.go x: 102 lines of code y: 4 # changes pkg/scheduler/objects/node_events.go x: 109 lines of code y: 3 # changes pkg/scheduler/objects/queue_events.go x: 84 lines of code y: 2 # changes pkg/common/configs/configvalidator.go x: 637 lines of code y: 41 # changes pkg/scheduler/objects/preemption.go x: 636 lines of code y: 7 # changes pkg/scheduler/partition.go x: 1118 lines of code y: 55 # changes pkg/scheduler/ugm/group_tracker.go x: 101 lines of code y: 8 # changes pkg/scheduler/ugm/manager.go x: 542 lines of code y: 14 # changes pkg/scheduler/ugm/queue_tracker.go x: 310 lines of code y: 11 # changes pkg/scheduler/ugm/user_tracker.go x: 126 lines of code y: 8 # changes pkg/common/configs/configs.go x: 85 lines of code y: 12 # changes pkg/common/utils.go x: 208 lines of code y: 23 # changes pkg/events/event_ringbuffer.go x: 175 lines of code y: 3 # changes pkg/common/resources/resources.go x: 681 lines of code y: 39 # changes pkg/scheduler/objects/node.go x: 444 lines of code y: 34 # changes pkg/webservice/dao/allocation_ask_info.go x: 23 lines of code y: 5 # changes pkg/webservice/dao/allocation_info.go x: 18 lines of code y: 4 # changes pkg/webservice/dao/application_history.go x: 5 lines of code y: 2 # changes pkg/webservice/dao/application_info.go x: 36 lines of code y: 20 # changes pkg/webservice/dao/cluster_info.go x: 7 lines of code y: 10 # changes pkg/webservice/dao/cluster_util.go x: 7 lines of code y: 2 # changes pkg/webservice/dao/error_info.go x: 17 lines of code y: 2 # changes pkg/webservice/dao/node_info.go x: 20 lines of code y: 8 # changes pkg/webservice/dao/node_util.go x: 10 lines of code y: 2 # changes pkg/webservice/dao/partition_info.go x: 21 lines of code y: 14 # changes pkg/webservice/dao/queue_info.go x: 40 lines of code y: 17 # changes pkg/webservice/dao/scheduler-health.go x: 23 lines of code y: 2 # changes pkg/webservice/dao/ugm_info.go x: 20 lines of code y: 3 # changes pkg/webservice/state_dump.go x: 67 lines of code y: 14 # changes pkg/metrics/init.go x: 165 lines of code y: 21 # changes pkg/metrics/scheduler.go x: 330 lines of code y: 28 # changes pkg/scheduler/objects/queue.go x: 1405 lines of code y: 48 # changes pkg/scheduler/ugm/utilities.go x: 29 lines of code y: 2 # changes pkg/webservice/dao/event_record.go x: 9 lines of code y: 1 # changes pkg/webservice/handlers.go x: 802 lines of code y: 98 # changes pkg/webservice/routes.go x: 230 lines of code y: 35 # changes pkg/scheduler/objects/application_state.go x: 182 lines of code y: 23 # changes pkg/scheduler/objects/node_collection.go x: 168 lines of code y: 6 # changes pkg/scheduler/objects/node_iterator.go x: 27 lines of code y: 2 # changes pkg/events/events.go x: 31 lines of code y: 5 # changes pkg/scheduler/health_checker.go x: 296 lines of code y: 12 # changes pkg/log/logger.go x: 204 lines of code y: 11 # changes pkg/common/configs/config.go x: 127 lines of code y: 31 # changes pkg/common/security/acl.go x: 102 lines of code y: 15 # changes pkg/scheduler/ugm/tracker.go x: 13 lines of code y: 2 # changes cmd/simplescheduler/simplescheduler.go x: 109 lines of code y: 15 # changes pkg/common/security/usergroup.go x: 158 lines of code y: 8 # changes pkg/common/server.go x: 95 lines of code y: 14 # changes pkg/events/event_publisher.go x: 45 lines of code y: 6 # changes pkg/metrics/metrics_collector.go x: 62 lines of code y: 5 # changes pkg/metrics/queue.go x: 90 lines of code y: 15 # changes pkg/metrics/runtime.go x: 195 lines of code y: 3 # changes pkg/plugins/plugins.go x: 44 lines of code y: 19 # changes pkg/rmproxy/rmproxy.go x: 326 lines of code y: 34 # changes pkg/scheduler/objects/allocation_ask.go x: 202 lines of code y: 17 # changes pkg/scheduler/objects/nodesorting.go x: 101 lines of code y: 7 # changes pkg/scheduler/objects/object_state.go x: 53 lines of code y: 4 # changes pkg/scheduler/objects/reservation.go x: 65 lines of code y: 6 # changes pkg/scheduler/partition_manager.go x: 125 lines of code y: 24 # changes pkg/scheduler/placement/filter.go x: 131 lines of code y: 10 # changes pkg/scheduler/placement/fixed_rule.go x: 80 lines of code y: 10 # changes pkg/scheduler/placement/placement.go x: 157 lines of code y: 13 # changes pkg/scheduler/placement/provided_rule.go x: 72 lines of code y: 12 # changes pkg/scheduler/placement/rule.go x: 58 lines of code y: 10 # changes pkg/scheduler/placement/user_rule.go x: 67 lines of code y: 10 # changes pkg/scheduler/scheduler.go x: 131 lines of code y: 51 # changes pkg/trace/scheduler_tracer.go x: 88 lines of code y: 3 # changes pkg/trace/utils.go x: 47 lines of code y: 3 # changes pkg/webservice/webservice.go x: 63 lines of code y: 20 # changes pkg/log/filtered_core.go x: 28 lines of code y: 1 # changes pkg/events/event_store.go x: 42 lines of code y: 5 # changes pkg/scheduler/objects/sorted_asks.go x: 35 lines of code y: 1 # changes pkg/scheduler/objects/sorters.go x: 187 lines of code y: 10 # changes pkg/scheduler/objects/required_node_preemptor.go x: 110 lines of code y: 3 # changes pkg/scheduler/placement/types/types.go x: 8 lines of code y: 1 # changes pkg/scheduler/policies/priority_policy.go x: 23 lines of code y: 1 # changes pkg/plugins/types.go x: 10 lines of code y: 17 # changes pkg/rmproxy/rmevent/events.go x: 61 lines of code y: 18 # changes pkg/rmproxy/rmproxy_mock.go x: 47 lines of code y: 1 # changes cmd/schedulerclient/client.go x: 64 lines of code y: 10 # changes pkg/scheduler/nodes_usage_monitor.go x: 45 lines of code y: 7 # changes pkg/scheduler/objects/template/template.go x: 81 lines of code y: 3 # changes pkg/scheduler/trace_utils.go x: 49 lines of code y: 2 # changes config/limit.yaml x: 44 lines of code y: 4 # changes config/queues.yaml x: 65 lines of code y: 8 # changes pkg/common/resources/quantity.go x: 59 lines of code y: 1 # changes pkg/metrics/event.go x: 94 lines of code y: 2 # changes pkg/scheduler/objects/node_listener.go x: 4 lines of code y: 1 # changes pkg/scheduler/policies/nodesorting_policy.go x: 22 lines of code y: 2 # changes pkg/handler/event_handlers.go x: 8 lines of code y: 8 # changes pkg/trace/scheduler_trace_context.go x: 128 lines of code y: 1 # changes cmd/simplescheduler/main.go x: 17 lines of code y: 7 # changes pkg/common/security/usergroup_no_resolver.go x: 29 lines of code y: 3 # changes pkg/common/security/usergroup_os_resolver.go x: 17 lines of code y: 3 # changes pkg/common/security/usergroup_test_resolver.go x: 64 lines of code y: 3 # changes pkg/scheduler/scheduling_metrics.go x: 1 lines of code y: 5 # changes
98.0
# changes
  min: 1.0
  average: 12.45
  25th percentile: 2.75
  median: 7.0
  75th percentile: 15.0
  max: 98.0
0 1562.0
lines of code
min: 1.0 | average: 152.55 | 25th percentile: 26.0 | median: 65.0 | 75th percentile: 157.25 | max: 1562.0

Number of Contributors vs. Number of Changes: 110 points

pkg/scheduler/context.go x: 23 # contributors y: 43 # changes pkg/scheduler/objects/allocation.go x: 8 # contributors y: 19 # changes pkg/scheduler/objects/application.go x: 21 # contributors y: 83 # changes pkg/entrypoint/entrypoint.go x: 10 # contributors y: 24 # changes pkg/events/event_system.go x: 3 # contributors y: 5 # changes pkg/scheduler/objects/application_events.go x: 3 # contributors y: 4 # changes pkg/scheduler/objects/node_events.go x: 1 # contributors y: 3 # changes pkg/scheduler/objects/queue_events.go x: 1 # contributors y: 2 # changes pkg/common/configs/configvalidator.go x: 21 # contributors y: 41 # changes pkg/scheduler/objects/preemption.go x: 5 # contributors y: 7 # changes pkg/scheduler/partition.go x: 22 # contributors y: 55 # changes pkg/scheduler/ugm/group_tracker.go x: 2 # contributors y: 8 # changes pkg/scheduler/ugm/manager.go x: 5 # contributors y: 14 # changes pkg/scheduler/ugm/queue_tracker.go x: 4 # contributors y: 11 # changes pkg/common/configs/configs.go x: 6 # contributors y: 12 # changes pkg/common/utils.go x: 13 # contributors y: 23 # changes pkg/events/event_ringbuffer.go x: 2 # contributors y: 3 # changes pkg/common/resources/resources.go x: 18 # contributors y: 39 # changes pkg/scheduler/objects/node.go x: 15 # contributors y: 34 # changes pkg/webservice/dao/allocation_ask_info.go x: 4 # contributors y: 5 # changes pkg/webservice/dao/allocation_info.go x: 4 # contributors y: 4 # changes pkg/webservice/dao/application_history.go x: 2 # contributors y: 2 # changes pkg/webservice/dao/application_info.go x: 11 # contributors y: 20 # changes pkg/webservice/dao/cluster_info.go x: 8 # contributors y: 10 # changes pkg/webservice/dao/node_info.go x: 7 # contributors y: 8 # changes pkg/webservice/dao/partition_info.go x: 11 # contributors y: 14 # changes pkg/webservice/dao/queue_info.go x: 11 # contributors y: 17 # changes pkg/webservice/state_dump.go x: 7 # contributors y: 14 # changes pkg/metrics/init.go x: 12 # contributors y: 21 # changes pkg/metrics/scheduler.go x: 13 # contributors y: 28 # changes pkg/scheduler/objects/queue.go x: 20 # contributors y: 48 # changes pkg/webservice/dao/event_record.go x: 1 # contributors y: 1 # changes pkg/webservice/handlers.go x: 31 # contributors y: 98 # changes pkg/webservice/routes.go x: 16 # contributors y: 35 # changes pkg/scheduler/objects/node_collection.go x: 4 # contributors y: 6 # changes pkg/scheduler/health_checker.go x: 8 # contributors y: 12 # changes pkg/log/logger.go x: 7 # contributors y: 11 # changes pkg/common/configs/config.go x: 16 # contributors y: 31 # changes pkg/common/security/acl.go x: 7 # contributors y: 15 # changes cmd/simplescheduler/simplescheduler.go x: 10 # contributors y: 15 # changes pkg/common/server.go x: 8 # contributors y: 14 # changes pkg/metrics/queue.go x: 9 # contributors y: 15 # changes pkg/rmproxy/rmproxy.go x: 13 # contributors y: 34 # changes pkg/scheduler/objects/allocation_ask.go x: 7 # contributors y: 17 # changes pkg/scheduler/objects/reservation.go x: 3 # contributors y: 6 # changes pkg/scheduler/partition_manager.go x: 14 # contributors y: 24 # changes pkg/scheduler/placement/filter.go x: 7 # contributors y: 10 # changes pkg/scheduler/placement/placement.go x: 9 # contributors y: 13 # changes pkg/scheduler/placement/provided_rule.go x: 9 # contributors y: 12 # changes pkg/scheduler/scheduler.go x: 17 # contributors y: 51 # changes pkg/webservice/webservice.go x: 12 # contributors y: 20 # changes pkg/scheduler/objects/required_node_preemptor.go x: 3 # contributors y: 3 # changes pkg/plugins/types.go x: 9 # contributors y: 17 # changes pkg/rmproxy/rmevent/events.go x: 11 # contributors y: 18 # changes pkg/scheduler/nodes_usage_monitor.go x: 6 # contributors y: 7 # changes config/queues.yaml x: 6 # contributors y: 8 # changes
98.0
# changes
  min: 1.0
  average: 12.45
  25th percentile: 2.75
  median: 7.0
  75th percentile: 15.0
  max: 98.0
0 31.0
# contributors
min: 1.0 | average: 6.55 | 25th percentile: 2.0 | median: 4.5 | 75th percentile: 9.0 | max: 31.0

Number of Contributors vs. File Size: 110 points

pkg/scheduler/context.go x: 23 # contributors y: 739 lines of code pkg/scheduler/objects/allocation.go x: 8 # contributors y: 298 lines of code pkg/scheduler/objects/application.go x: 21 # contributors y: 1562 lines of code pkg/entrypoint/entrypoint.go x: 10 # contributors y: 70 lines of code pkg/events/event_system.go x: 3 # contributors y: 164 lines of code pkg/scheduler/objects/application_events.go x: 3 # contributors y: 102 lines of code pkg/scheduler/objects/node_events.go x: 1 # contributors y: 109 lines of code pkg/scheduler/objects/queue_events.go x: 1 # contributors y: 84 lines of code pkg/common/configs/configvalidator.go x: 21 # contributors y: 637 lines of code pkg/scheduler/objects/preemption.go x: 5 # contributors y: 636 lines of code pkg/scheduler/partition.go x: 22 # contributors y: 1118 lines of code pkg/scheduler/ugm/group_tracker.go x: 2 # contributors y: 101 lines of code pkg/scheduler/ugm/manager.go x: 5 # contributors y: 542 lines of code pkg/scheduler/ugm/queue_tracker.go x: 4 # contributors y: 310 lines of code pkg/scheduler/ugm/user_tracker.go x: 2 # contributors y: 126 lines of code pkg/common/configs/configs.go x: 6 # contributors y: 85 lines of code pkg/common/utils.go x: 13 # contributors y: 208 lines of code pkg/events/event_ringbuffer.go x: 2 # contributors y: 175 lines of code pkg/common/resources/resources.go x: 18 # contributors y: 681 lines of code pkg/scheduler/objects/node.go x: 15 # contributors y: 444 lines of code pkg/webservice/dao/allocation_ask_info.go x: 4 # contributors y: 23 lines of code pkg/webservice/dao/allocation_info.go x: 4 # contributors y: 18 lines of code pkg/webservice/dao/application_history.go x: 2 # contributors y: 5 lines of code pkg/webservice/dao/application_info.go x: 11 # contributors y: 36 lines of code pkg/webservice/dao/cluster_info.go x: 8 # contributors y: 7 lines of code pkg/webservice/dao/cluster_util.go x: 2 # contributors y: 7 lines of code pkg/webservice/dao/error_info.go x: 2 # contributors y: 17 lines of code pkg/webservice/dao/node_info.go x: 7 # contributors y: 20 lines of code pkg/webservice/dao/partition_info.go x: 11 # contributors y: 21 lines of code pkg/webservice/dao/queue_info.go x: 11 # contributors y: 40 lines of code pkg/webservice/dao/scheduler-health.go x: 2 # contributors y: 23 lines of code pkg/webservice/state_dump.go x: 7 # contributors y: 67 lines of code pkg/metrics/init.go x: 12 # contributors y: 165 lines of code pkg/metrics/scheduler.go x: 13 # contributors y: 330 lines of code pkg/scheduler/objects/queue.go x: 20 # contributors y: 1405 lines of code pkg/scheduler/ugm/utilities.go x: 1 # contributors y: 29 lines of code pkg/webservice/dao/event_record.go x: 1 # contributors y: 9 lines of code pkg/webservice/handlers.go x: 31 # contributors y: 802 lines of code pkg/webservice/routes.go x: 16 # contributors y: 230 lines of code pkg/scheduler/objects/application_state.go x: 13 # contributors y: 182 lines of code pkg/scheduler/objects/node_collection.go x: 4 # contributors y: 168 lines of code pkg/scheduler/objects/node_iterator.go x: 2 # contributors y: 27 lines of code pkg/events/events.go x: 3 # contributors y: 31 lines of code pkg/log/logger.go x: 7 # contributors y: 204 lines of code pkg/common/configs/config.go x: 16 # contributors y: 127 lines of code pkg/common/security/acl.go x: 7 # contributors y: 102 lines of code pkg/scheduler/ugm/tracker.go x: 1 # contributors y: 13 lines of code cmd/simplescheduler/simplescheduler.go x: 10 # contributors y: 109 lines of code pkg/common/security/usergroup.go x: 7 # contributors y: 158 lines of code pkg/common/server.go x: 8 # contributors y: 95 lines of code pkg/entrypoint/service_context.go x: 8 # contributors y: 22 lines of code pkg/events/event_publisher.go x: 4 # contributors y: 45 lines of code pkg/metrics/metrics_collector.go x: 4 # contributors y: 62 lines of code pkg/metrics/queue.go x: 9 # contributors y: 90 lines of code pkg/metrics/runtime.go x: 2 # contributors y: 195 lines of code pkg/plugins/plugins.go x: 8 # contributors y: 44 lines of code pkg/scheduler/objects/allocation_ask.go x: 7 # contributors y: 202 lines of code pkg/scheduler/objects/nodesorting.go x: 5 # contributors y: 101 lines of code pkg/scheduler/objects/object_state.go x: 3 # contributors y: 53 lines of code pkg/scheduler/objects/reservation.go x: 3 # contributors y: 65 lines of code pkg/scheduler/partition_manager.go x: 14 # contributors y: 125 lines of code pkg/scheduler/placement/filter.go x: 7 # contributors y: 131 lines of code pkg/scheduler/placement/fixed_rule.go x: 8 # contributors y: 80 lines of code pkg/scheduler/placement/placement.go x: 9 # contributors y: 157 lines of code pkg/scheduler/placement/provided_rule.go x: 9 # contributors y: 72 lines of code pkg/scheduler/placement/rule.go x: 8 # contributors y: 58 lines of code pkg/scheduler/placement/tag_rule.go x: 8 # contributors y: 79 lines of code pkg/scheduler/placement/user_rule.go x: 8 # contributors y: 67 lines of code pkg/scheduler/scheduler.go x: 17 # contributors y: 131 lines of code pkg/trace/scheduler_tracer.go x: 2 # contributors y: 88 lines of code pkg/trace/utils.go x: 2 # contributors y: 47 lines of code pkg/webservice/webservice.go x: 12 # contributors y: 63 lines of code pkg/events/event_store.go x: 3 # contributors y: 42 lines of code pkg/scheduler/objects/sorted_asks.go x: 1 # contributors y: 35 lines of code pkg/scheduler/objects/sorters.go x: 7 # contributors y: 187 lines of code pkg/scheduler/objects/required_node_preemptor.go x: 3 # contributors y: 110 lines of code pkg/scheduler/placement/testrule.go x: 4 # contributors y: 31 lines of code pkg/scheduler/policies/priority_policy.go x: 1 # contributors y: 23 lines of code pkg/plugins/types.go x: 9 # contributors y: 10 lines of code pkg/rmproxy/rmevent/events.go x: 11 # contributors y: 61 lines of code pkg/rmproxy/rmproxy_mock.go x: 1 # contributors y: 47 lines of code pkg/scheduler/nodes_usage_monitor.go x: 6 # contributors y: 45 lines of code pkg/scheduler/objects/template/template.go x: 2 # contributors y: 81 lines of code config/queues.yaml x: 6 # contributors y: 65 lines of code pkg/common/resources/quantity.go x: 1 # contributors y: 59 lines of code pkg/metrics/event.go x: 2 # contributors y: 94 lines of code pkg/scheduler/objects/node_listener.go x: 1 # contributors y: 4 lines of code pkg/handler/event_handlers.go x: 6 # contributors y: 8 lines of code pkg/trace/scheduler_trace_context.go x: 1 # contributors y: 128 lines of code cmd/simplescheduler/main.go x: 5 # contributors y: 17 lines of code pkg/common/security/usergroup_no_resolver.go x: 3 # contributors y: 29 lines of code pkg/common/security/usergroup_os_resolver.go x: 3 # contributors y: 17 lines of code pkg/scheduler/scheduling_metrics.go x: 3 # contributors y: 1 lines of code
1562.0
lines of code
  min: 1.0
  average: 152.55
  25th percentile: 26.0
  median: 65.0
  75th percentile: 157.25
  max: 1562.0
0 31.0
# contributors
min: 1.0 | average: 6.55 | 25th percentile: 2.0 | median: 4.5 | 75th percentile: 9.0 | max: 31.0