Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Junit report try #2

Closed
wants to merge 213 commits into from
Closed
Show file tree
Hide file tree
Changes from 212 commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
00f1f8c
Enable ServiceStatusMonitor in the examples (#14744)
suneet-s Aug 3, 2023
b27d281
Remove unused param in MetadataResource (#14747)
kfaraz Aug 3, 2023
20c48b6
Retry S3 task log fetch in case of transient S3 exceptions (#14714)
YongGang Aug 3, 2023
7488744
Minimize PostAggregator computations (#14708)
imply-cheddar Aug 3, 2023
ba957a9
Add ability to limit the number of segments killed in kill task (#14662)
zachjsh Aug 4, 2023
3335040
Report task/pending/time metrics for k8s based ingestion (#14698)
YongGang Aug 4, 2023
d31c04c
Fix the bug in getIndexInfo for mysql (#14750)
pranavbhole Aug 4, 2023
3b5b6c6
docs: query from deep storage (#14609)
317brian Aug 4, 2023
0d73480
Latest aggregator factories should accept time as VectorValueSelecto……
somu-imply Aug 4, 2023
6ced208
Improve the backport missing script (#14723)
abhishekagarwal87 Aug 4, 2023
d6c73ca
Cleanup the documentation for deep storage
LakshSingla Aug 4, 2023
e5661a3
refactor front-coded into static classes instead of using functional …
clintropolis Aug 4, 2023
590734b
Update tutorial-kafka.md (#14749)
suneet-s Aug 4, 2023
62ddeaf
Additional dimensions for service/heartbeat (#14743)
suneet-s Aug 4, 2023
2d8e0f2
Refactor: Cleanup coordinator duties for metadata cleanup (#14631)
kfaraz Aug 5, 2023
56ab81f
Add support for different result formats to MSQ SqlStatementResource …
adarshsanjeev Aug 7, 2023
7d78133
Docs: Include EARLIEST_BY and LATEST_BY as supported aggregation func…
vtlim Aug 7, 2023
14940dc
Add pod name to TaskLocation for easier observability and debugging. …
georgew5656 Aug 7, 2023
b624a4e
Rolling Supervisor restarts at taskDuration (#14396)
suneet-s Aug 7, 2023
bff8f9e
Update kinesis docs (#14768)
abhishekrb19 Aug 8, 2023
2af0ab2
Metric to report time spent fetching and analyzing segments (#14752)
suneet-s Aug 8, 2023
d0403f0
upgrade org.mozilla:rhino (#14765)
tejaswini-imply Aug 8, 2023
2845b6a
add new filters to unnest filter pushdown (#14777)
clintropolis Aug 8, 2023
660e6cf
Allow for task limit on kill tasks spawned by auto kill coordinator d…
zachjsh Aug 8, 2023
8a4dabc
docs: remove experimental from schema auto-discoery (#14759)
317brian Aug 8, 2023
667e4da
document expression aggregator (#14497)
clintropolis Aug 8, 2023
e57f880
document new filters and stuff (#14760)
clintropolis Aug 8, 2023
cd817fc
Fixing typo in `resultsTruncated` (#14779)
cryptoe Aug 9, 2023
550a66d
Upgrade jackson-databind to 2.12.7 (#14770)
tejaswini-imply Aug 9, 2023
a45b25f
Removes support for Hadoop 2 (#14763)
tejaswini-imply Aug 9, 2023
8f102f9
Introduce StorageConnector for Azure (#14660)
LakshSingla Aug 9, 2023
b1988b2
Web console: fix result count (#14786)
vogievetsky Aug 9, 2023
c8537db
Add lifecycle hooks to KubernetesTaskRunner (#14790)
georgew5656 Aug 10, 2023
4b9846b
Improve exception message when DruidLeaderClient doesn't find leader …
findingrish Aug 10, 2023
37ed0f4
Bump jclouds.version from 1.9.1 to 2.0.3 (#14746)
xvrl Aug 10, 2023
23306c4
retry when killing s3 based segments (#14776)
zachjsh Aug 10, 2023
82d82df
Add stats to KillUnusedSegments coordinator duty (#14782)
zachjsh Aug 10, 2023
353f7be
Adding data generation pod to jupyter notebooks deployment (#14742)
sergioferragut Aug 10, 2023
a0234c4
Add sampling factor for DeterminePartitionsJob (#13840)
hqx871 Aug 11, 2023
b0c78ff
Web console: make retention dialog clearer (#14793)
vogievetsky Aug 11, 2023
ec28672
Web console: allow format picking for download (#14794)
vogievetsky Aug 11, 2023
c8a1170
Support broadcast segmetns (#14789)
georgew5656 Aug 11, 2023
afe2290
Calcite upgrade 1.35 (#14510)
somu-imply Aug 11, 2023
e2d2afc
Bump postgresql from 42.4.1 to 42.6.0 (#13959)
dependabot[bot] Aug 12, 2023
0dc305f
Upgrade hibernate validator version to fix CVE-2019-10219 (#14757)
findingrish Aug 14, 2023
786e772
Remove config `druid.coordinator.compaction.skipLockedIntervals` (#14…
kfaraz Aug 14, 2023
e160967
Fix 404 when segment is used but not in the Coordinator snapshot (#14…
AmatyaAvadhanula Aug 14, 2023
30b5dd4
Add support to read from multiple kafka topics in same supervisor (#1…
abhishekagarwal87 Aug 14, 2023
50b3d96
increase dependabot PR limit for Java dependencies (#14804)
xvrl Aug 15, 2023
d5d483f
Bump org.apache.rat:apache-rat-plugin from 0.12 to 0.15 (#14817)
dependabot[bot] Aug 15, 2023
5f54ae7
Bump org.apache.maven.plugins:maven-surefire-plugin (#14813)
dependabot[bot] Aug 15, 2023
76c7963
Bump com.github.oshi:oshi-core from 6.4.2 to 6.4.4 (#14814)
dependabot[bot] Aug 15, 2023
0967048
Bump org.scala-lang:scala-library from 2.13.9 to 2.13.11 (#14826)
dependabot[bot] Aug 15, 2023
f0a79fa
Bump org.apache.maven.plugins:maven-source-plugin from 2.2.1 to 3.3.0…
dependabot[bot] Aug 15, 2023
2fdf5b1
Bump org.assertj:assertj-core from 3.19.0 to 3.24.2 (#14815)
dependabot[bot] Aug 15, 2023
e33d2db
202307-notebooks Template amends (#14683)
petermarshallio Aug 15, 2023
8abdaa2
Bump dropwizard.metrics.version from 4.0.0 to 4.2.19 (#14824)
dependabot[bot] Aug 15, 2023
aeeeed3
Bump protobuf.version from 3.21.7 to 3.24.0 (#14823)
dependabot[bot] Aug 15, 2023
a38579a
Retention rules API documentation refactor (#14623)
demo-kratia Aug 15, 2023
8fa7859
Druid SQL API documentation refactor (#14711)
demo-kratia Aug 15, 2023
0b2563f
Web console: adding format notice for CSV and TSV (#14783)
vogievetsky Aug 15, 2023
9be0f64
Bump org.apache.commons:commons-compress from 1.21 to 1.23.0 (#14820)
dependabot[bot] Aug 16, 2023
d9221e4
Completely disable cachingCost balancer strategy (#14798)
kfaraz Aug 16, 2023
7911a04
Refactoring of multi-topic kafka ingestion docs (#14828)
abhishekagarwal87 Aug 16, 2023
e55fe67
Bump apache.curator.version from 5.4.0 to 5.5.0 (#14843)
dependabot[bot] Aug 16, 2023
8be7751
Bump org.tukaani:xz from 1.8 to 1.9 (#14839)
dependabot[bot] Aug 16, 2023
97c3773
Bump commons-cli:commons-cli from 1.3.1 to 1.5.0 (#14837)
dependabot[bot] Aug 16, 2023
3954685
Report more metrics to monitor K8s task runner (#14771)
YongGang Aug 16, 2023
faf7947
Bump io.dropwizard.metrics:metrics-graphite from 3.1.2 to 4.2.19 (#14…
dependabot[bot] Aug 16, 2023
2561477
Jupyter nested columns tutorial (#14788)
writer-jill Aug 16, 2023
f585f0a
202306-docs-notebook topn (#14478)
petermarshallio Aug 16, 2023
26d82fd
fix filtering bug in filtering unnest cols and dim cols: Received a n…
pranavbhole Aug 17, 2023
6b14dde
deprecate config-magic in favor of json configuration stuff (#14695)
clintropolis Aug 17, 2023
6b4dda9
Docusaurus2 upgrade for master (#14411)
317brian Aug 17, 2023
cb27d0d
Web console: enable Kafka multi-topic ingestion from the data loader …
vogievetsky Aug 17, 2023
5d4ac64
Adapt maxSegmentsToMove based on cluster skew (#14584)
kfaraz Aug 17, 2023
dc2ae1e
Web console: improving the helper queries by allowing for running inl…
vogievetsky Aug 17, 2023
b97cc45
Add clarification to the docs for multi-topic Kafka ingestion (#14847)
abhishekagarwal87 Aug 17, 2023
fffb2e4
Speed up SQLMetadataStorageActionHandlerTest (#14856)
kfaraz Aug 17, 2023
2a7fbf2
Bump org.apache.directory.api:api-util from 1.0.3 to 2.1.3 (#14852)
dependabot[bot] Aug 17, 2023
2cc3bd6
Bump joda-time:joda-time from 2.12.4 to 2.12.5 (#14855)
dependabot[bot] Aug 17, 2023
37db5d9
Reset offsets supervisor API (#14772)
abhishekrb19 Aug 17, 2023
59415ba
Web console: expose new coordinator properties in the dialog (#14791)
vogievetsky Aug 17, 2023
7e147ee
Web console: Reset to specific offsets dialog (#14863)
vogievetsky Aug 17, 2023
9c124f2
Add a configurable bufferPeriod between when a segment is marked unus…
capistrant Aug 18, 2023
a8eaa1e
Skip streaming auto-scaling action if supervisor is idle (#14773)
jon-wei Aug 18, 2023
1e14df4
Bump com.ibm.icu:icu4j from 55.1 to 73.2 (#14853)
dependabot[bot] Aug 18, 2023
097b645
Clean up after add kill bufferPeriod (#14868)
kfaraz Aug 18, 2023
263ac36
docs: fix autolabeler for jupyter notebooks (#14862)
317brian Aug 18, 2023
9065ef1
Fix a bug in QosFilter (#14859)
abhishekagarwal87 Aug 21, 2023
07a193a
Use separate executor for each coordinator duty group (#14869)
kfaraz Aug 21, 2023
c211dcc
Clean up compaction logs on coordinator (#14875)
kfaraz Aug 21, 2023
9290605
Remove segmentsToBeDropped from SegmentTransactionInsertAction (#14883)
kfaraz Aug 21, 2023
a38b4f0
Add topic name as a column in the Kafka Input format (#14857)
abhishekagarwal87 Aug 21, 2023
631dc3b
add Kafka topic column controls (#14865)
vogievetsky Aug 21, 2023
0dfd99e
202307-notebook-unionall (#14726)
petermarshallio Aug 21, 2023
9fe7c01
Automatic compaction API documentation refactor (#14740)
demo-kratia Aug 21, 2023
5f74ef5
Clean up Kafka supervisor topic (#14651)
ektravel Aug 21, 2023
5d14129
enable sql compatible null handling mode by default (#14792)
clintropolis Aug 22, 2023
18f7cb6
Fixed broken URL of python api tutorial (#14881)
asdf2014 Aug 22, 2023
d87056e
Upgrade guava version to 31.1-jre (#14767)
tejaswini-imply Aug 22, 2023
194a9c9
set druid.expressions.useStrictBooleans to true by default (#14734)
clintropolis Aug 22, 2023
bd50506
Improve streaming ingestion completion timeout error message (#14636)
AmatyaAvadhanula Aug 22, 2023
14c1aff
Fix error messages relating to OVERWRITE keyword (#14870)
kgyrtkirk Aug 22, 2023
9376d8d
Refactor: Move `UpdateCoordinatorStateAndPrepareCluster` duty out of …
kfaraz Aug 22, 2023
b9a3394
Fix aggregation filter expression processing in the absense of projec…
kgyrtkirk Aug 22, 2023
6817de9
Doc changes for avatica transparent reconnection (#14896)
somu-imply Aug 22, 2023
fb053c3
consolidate json and auto indexers, remove v4 nested column serialize…
clintropolis Aug 23, 2023
7b5012e
override retry attempts for InputEntityIteratingReaderTest for much f…
clintropolis Aug 23, 2023
e806d09
Allow EARLIEST/EARLIEST_BY/LATEST/LATEST_BY for STRING columns withou…
kgyrtkirk Aug 23, 2023
76e5048
fix supervisor spec api submission commands (#14877)
giuliotal Aug 23, 2023
989ed8d
Fix null check for JWT claims (#14872)
a2l007 Aug 23, 2023
dfb5a98
Add coordinator API for unused segments (#14846)
adarshsanjeev Aug 23, 2023
0c76df1
Enable Continuous auto kill (#14831)
zachjsh Aug 23, 2023
36e659a
remove group-by v1 (#14866)
clintropolis Aug 23, 2023
f9f734c
Display the output column name in InvalidNullByteException (#14780)
LakshSingla Aug 24, 2023
54336e2
Imporve on incremental compilation (#14860)
kgyrtkirk Aug 24, 2023
3c7b237
Add docs for ingesting Kafka topic name (#14894)
abhishekagarwal87 Aug 24, 2023
388d5ec
Fix reported CVEs (#14882)
tejaswini-imply Aug 24, 2023
e511819
Use num cores to determine balancerComputeThreads (#14902)
kfaraz Aug 25, 2023
ad32f84
Fix capacity response in mm-less ingestion (#14888)
georgew5656 Aug 25, 2023
95b0de6
Move some lifecycle management from doTask -> shutdown for the mm-les…
georgew5656 Aug 25, 2023
9142f4b
docs: update note in automatic compaction doc (#14908)
vtlim Aug 25, 2023
30c49c4
Web console: misc fixes and SQL query re-formatting (#14906)
vogievetsky Aug 25, 2023
9fcbf05
Adjusting `SqlStatementResource` and `SqlTaskResource` to set request…
cryptoe Aug 26, 2023
d6565f4
Increase the computed value of replicationThrottleLimit (#14913)
kfaraz Aug 28, 2023
8885805
Update filters.md (#14917)
benkrug Aug 28, 2023
004cd01
HttpClient: Include error handler on all connection attempts. (#14915)
gianm Aug 29, 2023
d201ea0
prometheus-emitter: add extraLabels parameter (#14728)
yianni Aug 29, 2023
8263f0d
Reduce coordinator logs when operating normally (#14926)
kfaraz Aug 30, 2023
d295b91
Web console: dynamic query parameters UI (#14921)
vogievetsky Aug 30, 2023
42cfb99
Added brush to time-chart (#14929)
lorem--ipsum Aug 30, 2023
04a1153
line chart fix others not mapping correctly (#14931)
vogievetsky Aug 30, 2023
680669f
show execution dialog in task view (#14930)
vogievetsky Aug 30, 2023
dea9d4f
cleaning DruidProcessingConfig bindings (#14927)
clintropolis Aug 31, 2023
7f26b80
Simplify ServiceMetricEvent.Builder (#14933)
kfaraz Sep 1, 2023
ec630e3
Remove deprecated coordinator dynamic configs (#14923)
kfaraz Sep 4, 2023
d4e972e
Add checking for new checkpoint (#14353)
panhongan Sep 4, 2023
289ee1e
Refactor: Cleanup NoopTask (#14938)
kfaraz Sep 5, 2023
9d6ca61
Verify statsd mock client interaction in unit test (#14939)
abhishekrb19 Sep 5, 2023
8088a76
Vectorize earliest aggregator for both numeric and string types (#14408)
somu-imply Sep 5, 2023
425ebaa
Query tips doc (#14922)
writer-jill Sep 5, 2023
706b57c
fixup array and mvd sql docs (#14928)
clintropolis Sep 5, 2023
959148a
Add code to wait for segments generated to be loaded on historicals (…
adarshsanjeev Sep 6, 2023
6ee0b06
Auto configuration for maxSubqueryBytes (#14808)
LakshSingla Sep 6, 2023
23308c0
Remove DruidAggregateCaseToFilterRule (#14940)
kgyrtkirk Sep 6, 2023
a8fa979
Unnest dont push down not (#14942)
somu-imply Sep 6, 2023
88f3c9b
Fix bug in computed value of balancerComputeThreads (#14947)
kfaraz Sep 6, 2023
e100b18
Updated documentation for OshiSysMonitor (#14912)
hardikbajaj Sep 7, 2023
f9cf500
Extend GHA autolabeler to other areas (#14903)
abhishekrb19 Sep 8, 2023
647686a
Add test and metrics for KillStalePendingSegments duty (#14951)
kfaraz Sep 8, 2023
699893b
Fix StringLastAggregatorFactory equals/toString (#14907)
kgyrtkirk Sep 8, 2023
09f7dfe
docs: update docusaurus 2 stuff (#14864)
317brian Sep 8, 2023
2b7f2c5
use VectorValueSelector instead of BaseLongVectorValueSelector for St…
clintropolis Sep 9, 2023
dec6a0a
Update google client apis to latest version (#14414)
tejaswini-imply Sep 11, 2023
7871e63
Fix bug in KillStalePendingSegments (#14961)
kfaraz Sep 11, 2023
3a453f7
docs: add note about transparent_reconnection (#14953)
317brian Sep 11, 2023
f773d83
Mixed task runner for migration to mm-less ingestion (#14918)
georgew5656 Sep 12, 2023
757603a
Set task location as k8sPodName for mm-less ingestion (#14959)
suneet-s Sep 12, 2023
5cecf6c
fix issue with segment metadata cache and complex types when doing ou…
clintropolis Sep 12, 2023
0f38a37
Tweak GHA runner label. (#14963)
abhishekrb19 Sep 12, 2023
5d16d0e
Count distinct returned incorrect results without useApproximateCount…
kgyrtkirk Sep 12, 2023
891f0a3
longer compatibility window for nested column format v4 (#14955)
clintropolis Sep 12, 2023
6371721
Add DOAP file for Druid (#14954)
suneet-s Sep 13, 2023
286eeca
Simplify DruidCoordinatorConfig and binding of metadata cleanup dutie…
kfaraz Sep 13, 2023
23b78c0
use mmap for nested column value to dictionary id lookup for more chi…
clintropolis Sep 13, 2023
b7bb5ee
Upload docker and druid service logs as artifacts on GitHub Actions I…
tejaswini-imply Sep 13, 2023
4c57504
Fix the uncaught exceptions when materializing results as frames (#14…
LakshSingla Sep 13, 2023
7f757e3
Fix the created property in DOAP RDF file (#14971)
asdf2014 Sep 13, 2023
bf99d2c
Fix for schema mismatch to go down using the non vectorize path till …
somu-imply Sep 13, 2023
5c42ac8
Fix for latest agg to handle nulls in time column. Also adding optimi…
somu-imply Sep 14, 2023
7bbefd5
Updating version in from.ftl (#14982)
somu-imply Sep 14, 2023
0e3df2d
Clean up stale locks if segment allocation fails (#14966)
AmatyaAvadhanula Sep 14, 2023
3ae5e97
Add IS [NOT] TRUE, IS [NOT] FALSE native functions. (#14977)
gianm Sep 14, 2023
279b381
Make Unnest work with nullif operator (#14993)
somu-imply Sep 15, 2023
0fc5d54
Tweak GHA runner label for MSQ (#14992)
LakshSingla Sep 15, 2023
39d9595
Do not eagerly close inner iterators in CloseableIterator#flatMap (#1…
rohangarg Sep 15, 2023
973fbaf
Adding addition logging for taskIdReady in MSQ for debugging lock rac…
cryptoe Sep 17, 2023
d459df8
Fix log syntax (#15004)
georgew5656 Sep 18, 2023
4f498e6
SQL: Plan non-equijoin conditions as cross join followed by filter. (…
gianm Sep 19, 2023
73bab2f
Add option to copy query results directly to clipboard (#14889)
SamWheating Sep 19, 2023
e8773f4
Enable already passing tests in DecoupledPlanningCalciteQueryTest (#1…
kgyrtkirk Sep 20, 2023
79f882f
Fix exception cause logging in QueryResultPusher (#14975)
kgyrtkirk Sep 20, 2023
823f620
Add IS [NOT] DISTINCT FROM to SQL and join matchers. (#14976)
gianm Sep 20, 2023
08cf290
Configure caching for static-check actions (#15010)
kgyrtkirk Sep 20, 2023
82e809c
fix (#15017)
LakshSingla Sep 20, 2023
22abc10
update RoaringBitmap to 0.9.49 (#15006)
xvrl Sep 20, 2023
883c269
Adding new function decode_base64_utf8 and expr macro (#14943)
pranavbhole Sep 21, 2023
ebb7946
Allow users with STATE permissions to read and write the state APIs f…
LakshSingla Sep 21, 2023
e76962f
Use annotation to mark DecoupleIgnore (#15005)
kgyrtkirk Sep 21, 2023
409bffe
Rename IMSC.announceHistoricalSegments to commitSegments (#15021)
kfaraz Sep 21, 2023
5cee9f6
Allow cancellation of MSQ tasks if they are waiting for segments to l…
cryptoe Sep 22, 2023
be3f93e
Restore tasks when lifecycle start (#14909)
YongGang Sep 22, 2023
d7c152c
Add a TaskReport for "kill" tasks (#15023)
kfaraz Sep 23, 2023
c62193c
Add support for concurrent batch Append and Replace (#14407)
AmatyaAvadhanula Sep 25, 2023
c184b52
Unnest now works on MSQ (#14886)
somu-imply Sep 25, 2023
0850e61
Remove istrue, isfalse vectorized impls. (#14991)
gianm Sep 25, 2023
48b6d2a
skip org.owasp:dependency-check on extensions-contrib modules and sup…
tejaswini-imply Sep 25, 2023
f7a5491
Commit segments only when they are covered by active locks (#15027)
AmatyaAvadhanula Sep 25, 2023
ba6101a
Remove `EOFException` catch block from the Avro decoders (#15018)
abhishekrb19 Sep 25, 2023
75af741
Revert "SQL: Plan non-equijoin conditions as cross join followed by f…
somu-imply Sep 25, 2023
7301e60
Add metrics for number of segments generated per task in MSQ (#14980)
YongGang Sep 25, 2023
3dabfea
Fix getResultType for HLL, quantiles aggregators. (#15043)
gianm Sep 27, 2023
8e22a17
Support getTaskLocation for mixed task runner (#15033)
georgew5656 Sep 27, 2023
fc929e6
upgrade shade (#15042)
georgew5656 Sep 27, 2023
022950a
MV_FILTER_ONLY may run into Exceptions in case duplicate values were …
kgyrtkirk Sep 27, 2023
fa61e65
fix uploading IT docker logs to GHA artifacts (#15046)
tejaswini-imply Sep 28, 2023
5f3b310
Build reliablity fixes (#15048)
kgyrtkirk Sep 28, 2023
3a0ffd1
junit-report
kgyrtkirk Oct 5, 2023
a154a28
make some failure
kgyrtkirk Oct 5, 2023
69b913f
break more
kgyrtkirk Oct 5, 2023
0604c08
fox complit
kgyrtkirk Oct 5, 2023
d7564cb
quote
kgyrtkirk Oct 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ updates:
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 20
ignore:
- dependency-name: "com.google.guava:guava"
# pin ZooKeeper dependencies to 3.5.x
Expand All @@ -18,3 +19,6 @@ updates:
# Even then this will involve significant effort.
# See https://github.com/apache/druid/pull/12258
- dependency-name: "org.apache.calcite"
# jclouds 2.1 needs Guava 18+
- dependency-name: "org.apache.jclouds"
versions: "[2.1,)"
51 changes: 46 additions & 5 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,50 @@
#

#
# Pull Request Labeler Github Action Configuration: https://github.com/marketplace/actions/labeler
# Pull Request Labeler GitHub Action Configuration: https://github.com/marketplace/actions/labeler

"Area - Documentation":
- "docs/**/*"
- "website/**"
- "examples/quickstart/jupyter-notebooks/*"
'Area - Batch Ingestion':
- 'indexing-hadoop/**'
- 'extensions-core/multi-stage-query/**'

'Area - Dependencies':
- '**/pom.xml'
- 'licenses.yaml'

'Area - Documentation':
- 'docs/**/*'
- 'website/**'
- 'examples/quickstart/jupyter-notebooks/**'

'Area - Ingestion':
- 'indexing-service/**'

'Area - Lookups':
- 'extensions-core/lookups-cached-global/**'
- 'extensions-core/lookups-cached-single/**'
- 'extensions-core/kafka-extraction-namespace/**'

'Area - Metrics/Event Emitting':
- 'processing/src/main/java/org/apache/druid/java/util/metrics/**'
- 'processing/src/main/java/org/apache/druid/java/util/emitter/**'
- 'extensions-contrib/*-emitter/**'

'Area - MSQ':
- 'extensions-core/multi-stage-query/**'

'Area - Querying':
- 'sql/**'
- 'extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/sql/**'

'Area - Segment Format and Ser/De':
- 'processing/src/main/java/org/apache/druid/segment/**'

'Area - Streaming Ingestion':
- 'extensions-core/kafka-indexing-service/**'
- 'extensions-core/kinesis-indexing-service/**'

'Area - Web Console':
- 'web-console/**'

'Kubernetes':
- 'extensions-contrib/kubernetes-overlord-extensions/**'
2 changes: 1 addition & 1 deletion .github/scripts/analyze_dependencies_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#!bin/bash

${MVN} ${MAVEN_SKIP} dependency:analyze -DoutputXML=true -DignoreNonCompile=true -DfailOnWarning=true ${HADOOP_PROFILE} ||
${MVN} ${MAVEN_SKIP} dependency:analyze -DoutputXML=true -DignoreNonCompile=true -DfailOnWarning=true ||
{ echo "
The dependency analysis has found a dependency that is either:

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/license_checks_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -e
./.github/scripts/setup_generate_license.sh
${MVN} apache-rat:check -Prat --fail-at-end \
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
-Drat.consoleOutput=true ${HADOOP_PROFILE}
-Drat.consoleOutput=true
# Generate dependency reports and checks they are valid.
mkdir -p target
distribution/bin/generate-license-dependency-reports.py . target --clean-maven-artifact-transfer --parallel 2
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/unit_tests_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -e
unset _JAVA_OPTIONS

# Set MAVEN_OPTS for Surefire launcher.
MAVEN_OPTS='-Xmx2500m' ${MVN} test -pl ${MAVEN_PROJECTS} \
MAVEN_OPTS='-Xmx2500m' ${MVN} test -B -pl ${MAVEN_PROJECTS} -Dmaven.test.failure.ignore=true \
${MAVEN_SKIP} -Ddruid.generic.useDefaultValueForNull=${DRUID_USE_DEFAULT_VALUE_FOR_NULL} \
-DjfrProfilerArgLine="${JFR_PROFILER_ARG_LINE}"
sh -c "dmesg | egrep -i '(oom|out of memory|kill process|killed).*' -C 1 || exit 0"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand All @@ -42,7 +48,6 @@ jobs:
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
queries: +security-and-quality


- run: |
echo "Building using custom commands"
mvn clean package -f "pom.xml" -B -V -e -Dfindbugs.skip -Dcheckstyle.skip -Dpmd.skip=true -Denforcer.skip -Dmaven.javadoc.skip -DskipTests -Dmaven.test.skip.exec -Dlicense.skip=true -Dweb.console.skip=true -Dcyclonedx.skip=true
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/cron-job-its.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ jobs:
name: security vulnerabilities
strategy:
fail-fast: false
matrix:
HADOOP_PROFILE: [ '', '-Phadoop2' ]
runs-on: ubuntu-latest
steps:
- name: Checkout branch
Expand All @@ -129,10 +127,8 @@ jobs:
run: mvn clean install dependency:go-offline -P dist -P skip-static-checks,skip-tests -Dmaven.javadoc.skip=true -Dcyclonedx.skip=true -Dweb.console.skip=true

- name: security vulnerabilities check
env:
HADOOP_PROFILE: ${{ matrix.HADOOP_PROFILE }}
run: |
mvn dependency-check:purge dependency-check:check ${HADOOP_PROFILE} || { echo "
mvn dependency-check:purge dependency-check:check || { echo "
The OWASP dependency check has found security vulnerabilities. Please use a newer version
of the dependency that does not have vulnerabilities. To see a report run
`mvn dependency-check:check`
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/reusable-revised-its.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,35 @@ jobs:

- name: Run IT
run: ${{ inputs.script }}

- name: Collect docker logs on failure
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: |
mkdir docker-logs
for c in $(docker ps -a --format="{{.Names}}")
do
docker logs $c > ./docker-logs/$c.log
done

- name: Tar docker logs
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: tar cvzf ./docker-logs.tgz ./docker-logs

- name: Upload docker logs to GitHub
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
uses: actions/upload-artifact@master
with:
name: IT-${{ inputs.it }} docker logs (Compile=jdk${{ inputs.build_jdk }}, Run=jdk${{ inputs.runtime_jdk }}, Indexer=${{ inputs.use_indexer }}, Mysql=${{ inputs.mysql_driver }})
path: docker-logs.tgz

- name: Collect service logs on failure
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: |
tar cvzf ./service-logs.tgz ~/shared/logs

- name: Upload Druid service logs to GitHub
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
uses: actions/upload-artifact@master
with:
name: IT-${{ inputs.it }} service logs (Compile=jdk${{ inputs.build_jdk }}, Run=jdk${{ inputs.runtime_jdk }}, Indexer=${{ inputs.use_indexer }}, Mysql=${{ inputs.mysql_driver }})
path: service-logs.tgz
35 changes: 28 additions & 7 deletions .github/workflows/reusable-standard-its.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,34 @@ jobs:
echo "${MVN} verify -pl integration-tests -P integration-tests ${{ inputs.testing_groups }} -Djvm.runtime=${{ inputs.runtime_jdk }} -Dit.indexer=${{ inputs.use_indexer }} ${MAVEN_SKIP} -Doverride.config.path=${{ inputs.override_config_path }}"
${MVN} verify -pl integration-tests -P integration-tests ${{ inputs.testing_groups }} -Djvm.runtime=${{ inputs.runtime_jdk }} -Dit.indexer=${{ inputs.use_indexer }} ${MAVEN_SKIP} -Doverride.config.path=${{ inputs.override_config_path }}

- name: Debug IT
- name: Collect docker logs on failure
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: |
for v in broker router ${{ inputs.use_indexer }} historical coordinator overlord; do
echo "=======================druid-"$v"========================";
echo "-----------------------docker logs-----------------------";
sudo docker logs druid-"$v" 2>&1 | tail -1000 ||:;
echo "-----------------------service logs----------------------";
sudo docker exec druid-"$v" tail -1000 /shared/logs/"$v".log 2>&1 ||:;
mkdir docker-logs
for c in $(docker ps -a --format="{{.Names}}")
do
docker logs $c > ./docker-logs/$c.log
done

- name: Tar docker logs
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: tar cvzf ./docker-logs.tgz ./docker-logs

- name: Upload docker logs to GitHub
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
uses: actions/upload-artifact@master
with:
name: IT-${{ inputs.group }} docker logs (Compile=jdk${{ inputs.build_jdk }}, Run=jdk${{ inputs.runtime_jdk }}, Indexer=${{ inputs.use_indexer }}, Mysql=${{ inputs.mysql_driver }})
path: docker-logs.tgz

- name: Collect service logs on failure
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
run: |
tar cvzf ./service-logs.tgz ./shared/logs

- name: Upload Druid service logs to GitHub
if: ${{ failure() && steps.run-it.conclusion == 'failure' }}
uses: actions/upload-artifact@master
with:
name: IT-${{ inputs.group }} service logs (Compile=jdk${{ inputs.build_jdk }}, Run=jdk${{ inputs.runtime_jdk }}, Indexer=${{ inputs.use_indexer }}, Mysql=${{ inputs.mysql_driver }})
path: service-logs.tgz
9 changes: 9 additions & 0 deletions .github/workflows/reusable-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,15 @@ jobs:
MAVEN_PROJECTS: ${{ inputs.maven_projects }}
run: ./.github/scripts/unit_tests_script.sh

- name: Test Report
uses: dorny/test-reporter@v1
if: always()
with:
name: Maven Tests
path: **/target/**/surefire-reports/TEST-*.xml
reporter: java-junit
fail-on-error: true

- name: set outputs on failure
id: set_outputs
if: ${{ failure() }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/standard-its.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ jobs:
with:
path: ~/.m2/repository
key: maven-${{ runner.os }}-8-${{ github.sha }}
restore-keys: setup-java-Linux-maven-${{ hashFiles('**/pom.xml') }}

- name: Maven build
if: steps.maven-restore.outputs.cache-hit != 'true'
Expand Down
62 changes: 28 additions & 34 deletions .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,17 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ 'jdk8', 'jdk11', 'jdk17' ]
java: [ '8', '11', '17' ]
runs-on: ubuntu-latest
steps:
- name: checkout branch
uses: actions/checkout@v3

- name: set java version
run: |
export jdk=${{ matrix.java }}
echo "java_version=${jdk:3}" >> $GITHUB_ENV

- name: setup ${{ matrix.java }}
run: |
echo "JAVA_HOME=$JAVA_HOME_${{ env.java_version }}_X64" >> $GITHUB_ENV
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'maven'

- name: packaging check
run: |
Expand All @@ -66,60 +63,53 @@ jobs:

- name: script checks
# who watches the watchers?
if: ${{ matrix.java == 'jdk8' }}
if: ${{ matrix.java == '8' }}
run: ./check_test_suite_test.py

- name: (openjdk17) strict compilation
if: ${{ matrix.java == 'jdk17' }}
if: ${{ matrix.java == '17' }}
# errorprone requires JDK 11+
# Strict compilation requires more than 2 GB
run: ${MVN} clean -DstrictCompile compile test-compile --fail-at-end ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS}

- name: maven install
if: ${{ matrix.java == 'jdk8' }}
if: ${{ matrix.java == '8' }}
run: |
echo 'Running Maven install...' &&
${MVN} clean install -q -ff -pl '!distribution,!:druid-it-image,!:druid-it-cases' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS} -T1C &&
${MVN} install -q -ff -pl 'distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS}

- name: checkstyle
if: ${{ matrix.java == 'jdk8' }}
if: ${{ matrix.java == '8' }}
run: ${MVN} checkstyle:checkstyle --fail-at-end

- name: license checks
if: ${{ matrix.java == 'jdk8' }}
if: ${{ matrix.java == '8' }}
run: ./.github/scripts/license_checks_script.sh

- name: analyze dependencies
if: ${{ matrix.java == 'jdk8' }}
run: |
./.github/scripts/analyze_dependencies_script.sh

- name: analyze dependencies for hadoop2
if: ${{ matrix.java == 'jdk8' }}
env:
HADOOP_PROFILE: -Phadoop2
if: ${{ matrix.java == '8' }}
run: |
./.github/scripts/analyze_dependencies_script.sh

- name: animal sniffer checks
if: ${{ matrix.java == 'jdk8' }}
if: ${{ matrix.java == '8' }}
run: ${MVN} animal-sniffer:check --fail-at-end

- name: enforcer checks
if: ${{ matrix.java == 'jdk8' }}
if: ${{ matrix.java == '8' }}
run: ${MVN} enforcer:enforce --fail-at-end

- name: forbidden api checks
if: ${{ matrix.java == 'jdk8' }}
if: ${{ matrix.java == '8' }}
run: ${MVN} forbiddenapis:check forbiddenapis:testCheck --fail-at-end

- name: pmd checks
if: ${{ matrix.java == 'jdk8' }}
if: ${{ matrix.java == '8' }}
run: ${MVN} pmd:check --fail-at-end # TODO: consider adding pmd:cpd-check

- name: spotbugs checks
if: ${{ matrix.java == 'jdk8' }}
if: ${{ matrix.java == '8' }}
run: ${MVN} spotbugs:check --fail-at-end -pl '!benchmarks'

intellij-inspections:
Expand All @@ -130,9 +120,11 @@ jobs:
- name: checkout branch
uses: actions/checkout@v3

- name: setup JDK8
run: |
echo "JAVA_HOME=$JAVA_HOME_8_X64" >> $GITHUB_ENV
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'

- name: maven install
run: |
Expand Down Expand Up @@ -160,9 +152,11 @@ jobs:
- name: checkout branch
uses: actions/checkout@v3

- name: setup JDK17
run: |
echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'

- name: setup node
uses: actions/setup-node@v3
Expand All @@ -173,7 +167,7 @@ jobs:
run: |
(cd website && npm install)
cd website
npm run link-lint
npm run build
npm run spellcheck

- name: web console
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-and-integration-tests-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
with:
path: ~/.m2/repository
key: maven-${{ runner.os }}-${{ matrix.jdk }}-${{ github.sha }}
restore-keys: setup-java-Linux-maven-${{ hashFiles('**/pom.xml') }}

- name: Cache targets
id: target
Expand Down
Loading