Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
8c9dcc2
Druid automated quickstart
Nov 15, 2022
342e5d7
remove conf/druid/single-server/quickstart/_common/historical/jvm.config
Nov 15, 2022
6a4a48e
Minor changes in python script
Nov 15, 2022
36b86b6
Add lower bound memory for some services
Nov 15, 2022
dbfb465
Additional runtime properties for services
Nov 15, 2022
7324252
Update supervise script to accept command arguments, corresponding ch…
Nov 18, 2022
72494e9
File end newline
Nov 18, 2022
e350587
Limit the ability to start multiple instances of a service, documenta…
Nov 18, 2022
68a1e66
simplify script arguments
Nov 18, 2022
e570606
restore changes in medium profile
Nov 18, 2022
b413d15
run-druid refactor
Nov 21, 2022
68018a8
Firehose migration doc (#12981)
writer-jill Nov 21, 2022
fe34ecc
add ability to make inputFormat part of the example datasets (#13402)
vogievetsky Nov 21, 2022
280a0f7
Add sequential sketch merging to MSQ (#13205)
adarshsanjeev Nov 22, 2022
9b8cdc6
compute and pass middle manager runtime properties to run-druid
Nov 22, 2022
c6054b7
Attach IO error to parse error when we can't contact Avro schema regi…
gianm Nov 22, 2022
75d169f
Remove extra quotes from mm task javaopts array
Nov 22, 2022
a891319
Update logic to compute minimum memory
Nov 22, 2022
5692753
simplify run-druid
Nov 22, 2022
d111012
remove debug options from run-druid
Nov 22, 2022
7cf761c
Prepare master branch for next release, 26.0.0 (#13401)
kfaraz Nov 22, 2022
a9b24e2
resolve the config_path provided
Nov 22, 2022
71bfca1
comment out service specific runtime properties which are computed in…
Nov 22, 2022
032bae0
simplify run-druid
Nov 22, 2022
be4914d
fix off by one error in nested column range index (#13405)
clintropolis Nov 22, 2022
f55c749
clean up docs, naming changes
Nov 23, 2022
2a0dd34
Throw ValueError exception on illegal state
Nov 23, 2022
c35cc1e
update docs
Nov 23, 2022
c26b18c
Port CVE suppressions from 24.0.1 (#13415)
rohangarg Nov 23, 2022
891eaaa
rename args, compute_only -> compute, run_zk -> zk
Nov 23, 2022
f524c68
Add mechanism for 'safe' memory reads for complex types (#13361)
clintropolis Nov 23, 2022
a06e86b
update help documentation
Nov 23, 2022
dc8f2b2
update help documentation
Nov 23, 2022
589586f
move task memory computation into separate method
Nov 23, 2022
b78b116
Add validation checks
Nov 23, 2022
a288704
remove print
Nov 23, 2022
16385c7
Bump minimatch and replace in /web-console (#13396)
dependabot[bot] Nov 23, 2022
81134a6
Add validations
Nov 24, 2022
b8f01cc
remove start-druid bash script, rename start-druid-main
Nov 24, 2022
6e6305f
Include tasks in lower bound memory calculation
Nov 24, 2022
a14af0f
Fix test
Nov 24, 2022
96956e5
Merge remote-tracking branch 'upstream/master' into feature-druid-aut…
Nov 24, 2022
b091b32
Fixes reindexing bug with filter on long column (#13386)
tejaswini-imply Nov 25, 2022
db7c29c
Correction to firehose migration doc (#13423)
writer-jill Nov 28, 2022
656b6cd
Add MetricsVerifier to simplify verification of metric values in test…
kfaraz Nov 28, 2022
58c896e
ServiceClient: More robust redirect handling. (#13413)
gianm Nov 28, 2022
b12e5f3
Add filter in cloud object input source for backward compatibility (#…
tejaswini-imply Nov 28, 2022
3a13e39
256m instead of 256g
findingrish Nov 28, 2022
a2d5e33
Web console: Index spec dialog (#13425)
vogievetsky Nov 28, 2022
4b58f5f
fix KafkaInputFormat with nested columns by delegating to underlying …
clintropolis Nov 28, 2022
37b8d48
fix issues with nested data conversion (#13407)
clintropolis Nov 28, 2022
d8f4353
Web console: be more robust to aux queries failing and improve kill t…
vogievetsky Nov 29, 2022
100a2aa
Update and document experimental features (#13348)
writer-jill Nov 29, 2022
edd076c
Remove duplicate FrameRowTooLargeException.java (#13441)
cryptoe Nov 29, 2022
af0d445
caffeine cache uses 5% of heap
Nov 29, 2022
6397eef
ensure min task count is 2, task count is monotonic
Nov 29, 2022
a3d442b
update configs and documentation for runtime props in conf/druid/sing…
Nov 29, 2022
b332729
Update docs
Nov 29, 2022
b8d34c4
Specify memory argument for each profile in single-server.md
Nov 29, 2022
4ed6255
Convert errors based on implicit type conversion in multi value array…
LakshSingla Nov 29, 2022
79df11c
Improve unit test coverage for MSQ (#13398)
LakshSingla Nov 29, 2022
cafdc83
Update middleManager runtime.properties
Nov 29, 2022
9a5053e
Merge remote-tracking branch 'upstream/master' into feature-druid-aut…
Nov 29, 2022
5c520e0
Update LDAP configuration docs (#13245)
writer-jill Nov 29, 2022
50963ed
Fix compile error in MSQSelectTest. (#13456)
gianm Nov 29, 2022
291ded2
Update experimental features doc (#13452)
writer-jill Nov 30, 2022
8ff1b2d
Revert "Add filter in cloud object input source for backward compatib…
kfaraz Nov 30, 2022
0da21ab
Move quickstart configs to conf/druid/base, add bash launch script, s…
Nov 30, 2022
af164cb
Fix an issue with WorkerSketchFetcher not terminating on shutdown (#1…
adarshsanjeev Nov 30, 2022
6ba35f6
update org.bouncycastle:bcprov-jdk15on 1.68 to 1.69 (#13440)
pen4 Nov 30, 2022
b03d873
Update supervise script
Nov 30, 2022
aabc53c
rename base config directory to auto
Nov 30, 2022
2d19c54
rename python script, changes to pass repeated args to supervise
Nov 30, 2022
657b513
remove exmaples/conf/druid/base dir
Nov 30, 2022
a4c34e7
add docs
Nov 30, 2022
0fd9b09
restore changes in conf dir
Nov 30, 2022
c0da3cd
update start-druid-auto
Nov 30, 2022
cc2e4a8
doc: add a basic JDBC tutorial (#13343)
317brian Dec 1, 2022
2fdcfff
don't render duration if aggregated (#13455)
vogievetsky Dec 1, 2022
2f3b971
Fix harcoded version in pom file (#13460)
adarshsanjeev Dec 1, 2022
8395273
Add unit tests for MSQ ingestion faults (#13439)
adarshsanjeev Dec 1, 2022
7b21323
remove hashref for commands in supervise script
Dec 1, 2022
7535ec8
start-druid-main java_opts array is comma separated
Dec 1, 2022
144042f
update entry point script name in python script
Dec 1, 2022
f5b225f
Update help docs
Dec 1, 2022
f6f625e
MSQ Reindex IT (#13433)
abhagraw Dec 1, 2022
42be20a
documentation changes
Dec 1, 2022
eed55be
docs changes
Dec 1, 2022
9063884
update docs
Dec 1, 2022
fe5c773
add support for running indexer
Dec 1, 2022
62912bb
update supported services list
Dec 1, 2022
9b08b04
update help
Dec 1, 2022
622a7ff
Update python.md
Dec 1, 2022
6da787c
remove dir
Dec 1, 2022
cc307e4
Fix needless task shutdown on leader switch (#13411)
AmatyaAvadhanula Dec 1, 2022
0677d0c
update .spelling
Dec 1, 2022
138a6de
Update nested columns docs (#13461)
writer-jill Dec 1, 2022
4380235
Remove dependency on psutil and pathlib
Dec 1, 2022
77febf8
update docs
Dec 1, 2022
1c8bd24
Update get_physical_memory method
Dec 1, 2022
9e495b3
Update help docs
Dec 1, 2022
e04af93
update docs
Dec 1, 2022
ca9d5ea
update method to get physical memory on python
Dec 2, 2022
01fb4b2
udpate spelling
Dec 2, 2022
d0c3b21
update .spelling
Dec 2, 2022
c516320
minor change
Dec 2, 2022
30498c1
Update gha & travis checks (#13412)
tejaswini-imply Dec 2, 2022
9aeb551
Minor change
Dec 2, 2022
b76ff16
SQL test framework extensions (#13426)
paul-rogers Dec 2, 2022
78c1a2b
Remove limit from timeseries (#13457)
ektravel Dec 2, 2022
9177419
Unnest functionality for Druid (#13268)
somu-imply Dec 3, 2022
45a8fa2
Add SegmentAllocationQueue to batch SegmentAllocateActions (#13369)
kfaraz Dec 5, 2022
10bec54
Switching emitter. This will allow for a per feed emitter designation…
TSFenwick Dec 5, 2022
65945a6
Docs: Update docs for coordinator dynamic config (#13494)
kfaraz Dec 5, 2022
658a9c2
Early stop on failed start (Alternative to #13087) (#13258)
AmatyaAvadhanula Dec 5, 2022
fda0a1a
Set chatAsync default to true. (#13491)
gianm Dec 6, 2022
136322d
clean install before license checks (#13502)
tejaswini-imply Dec 6, 2022
1036a7b
merge from master
Dec 6, 2022
71977d6
memory comptuation for indexer
Dec 6, 2022
cf47216
fix issue with jetty graceful shutdown of data servers when druid.ser…
clintropolis Dec 6, 2022
83261f9
Starting on Window Functions (#13458)
imply-cheddar Dec 6, 2022
37d8833
fix bug with broker parallel merge metrics emitting, add wall time, f…
clintropolis Dec 7, 2022
b25cf21
Better error message when theta_sketch_intersect is used on scalar ex…
abhishekagarwal87 Dec 7, 2022
6062c33
merge from master
Dec 7, 2022
c7229fc
Limit max batch size for segment allocation, add docs (#13503)
kfaraz Dec 7, 2022
9679f6a
Web console: add arrayOfDoublesSketch and other small fixes (#13486)
vogievetsky Dec 7, 2022
b56855b
Update to native ingestion doc (#13482)
writer-jill Dec 7, 2022
6995127
Fix typo in metric name (#13521)
kfaraz Dec 8, 2022
fbf76ad
Remove stray reference to fix OOM while merging sketches (#13475)
adarshsanjeev Dec 8, 2022
d5d81f4
update start-druid
Dec 8, 2022
5942eff
Update python.md
Dec 8, 2022
a4d14f7
Update single-server.md
Dec 8, 2022
d85fb8c
Web console: improve compaction status display (#13523)
vogievetsky Dec 8, 2022
0742c77
merge from master
Dec 8, 2022
41ad0bd
Update python.md
Dec 8, 2022
08507b4
run python3 --version to check if python is installed
Dec 8, 2022
91ef987
MSQ: Improve TooManyBuckets error message, improve error docs. (#13525)
gianm Dec 8, 2022
d8e27ea
update error anchors (#13527)
vogievetsky Dec 8, 2022
013a12e
Enhanced MSQ table functions (#13360)
paul-rogers Dec 8, 2022
48ffe3f
merge from master
Dec 9, 2022
14b8679
Update supervise script
Dec 9, 2022
2837dd3
start-druid: echo message if python not found
Dec 9, 2022
511583e
update anchor text
Dec 9, 2022
d569693
minor change
Dec 9, 2022
d0e7374
Update condition in supervise script
Dec 9, 2022
e3d3657
JVM not jvm in docs
Dec 9, 2022
5581488
MSQ: Only look at sqlInsertSegmentGranularity on the outer query. (#1…
gianm Dec 9, 2022
4360f2f
merge from master
Dec 9, 2022
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
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!bin/bash

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

Expand Down
27 changes: 27 additions & 0 deletions .github/scripts/license_checks_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#!/bin/bash

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}
# 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
distribution/bin/check-licenses.py licenses.yaml target/license-reports
4 changes: 4 additions & 0 deletions .github/scripts/setup_generate_license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!/bin/bash

set -e

sudo apt-get update && sudo apt-get install python3 -y
curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | sudo -H python3
pip3 install wheel # install wheel first explicitly
Expand Down
253 changes: 116 additions & 137 deletions .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,160 +35,139 @@ env:
MAVEN_OPTS: -Xmx3000m

jobs:
build:
static-checks:
strategy:
matrix:
java: [ 'jdk8', 'jdk11', 'jdk17' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup java 8
- 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 }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
java-version: ${{ env.java_version }}
cache: 'maven'
- run: |

- name: packaging check
run: |
./.github/scripts/setup_generate_license.sh
${MVN} clean install -Prat -Pdist -Pbundle-contrib-exts --fail-at-end \
-pl '!benchmarks' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS} -Dweb.console.skip=false -T1C

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

- name: (openjdk11) strict compilation
if: ${{ matrix.java == 'jdk11' }}
# 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' }}
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}

animal_sniffer_checks:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v3
- name: setup java 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- run: ${MVN} animal-sniffer:check --fail-at-end
- name: license checks
if: ${{ matrix.java == 'jdk8' }}
run: ./.github/scripts/license_checks_script.sh

checkstyle:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v3
- name: setup java 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- run: ${MVN} checkstyle:checkstyle --fail-at-end
- name: license checks for hadoop3
if: ${{ matrix.java == 'jdk8' }}
env:
HADOOP_PROFILE: -Phadoop3
run: ./.github/scripts/license_checks_script.sh

enforcer_checks:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v3
- name: setup java 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- run: ${MVN} enforcer:enforce --fail-at-end
- name: analyze dependencies
if: ${{ matrix.java == 'jdk8' }}
run: |
./.github/scripts/analyze_dependencies_script.sh

forbidden_api_checks:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v3
- name: setup java 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- run: ${MVN} forbiddenapis:check forbiddenapis:testCheck --fail-at-end
- name: analyze dependencies for hadoop3
if: ${{ matrix.java == 'jdk8' }}
env:
HADOOP_PROFILE: -Phadoop3
run: |
./.github/scripts/analyze_dependencies_script.sh

pmd_checks:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v3
- name: setup java 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- run: ${MVN} pmd:check --fail-at-end # TODO: consider adding pmd:cpd-check
- name: animal sniffer checks
if: ${{ matrix.java == 'jdk8' }}
run: ${MVN} animal-sniffer:check --fail-at-end

spotbugs_checks:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v3
- name: setup java 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- run: ${MVN} spotbugs:check --fail-at-end -pl '!benchmarks'
- name: checkstyle
if: ${{ matrix.java == 'jdk8' }}
run: ${MVN} checkstyle:checkstyle --fail-at-end

license_checks:
runs-on: ubuntu-latest
needs: [build]
strategy:
matrix:
HADOOP_PROFILE: ['', '-Phadoop3']
steps:
- uses: actions/checkout@v3
- name: setup java 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- run: |
./.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 ${{ matrix.HADOOP_PROFILE }}
# 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
distribution/bin/check-licenses.py licenses.yaml target/license-reports

script_checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# who watches the watchers?
- run: ./check_test_suite_test.py
- name: enforcer checks
if: ${{ matrix.java == 'jdk8' }}
run: ${MVN} enforcer:enforce --fail-at-end

analyze_dependencies:
runs-on: ubuntu-latest
needs: [build]
strategy:
matrix:
HADOOP_PROFILE: [ '', '-Phadoop3' ]
steps:
- uses: actions/checkout@v3
- name: setup java 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- run: |-
${MVN} ${MAVEN_SKIP} dependency:analyze -DoutputXML=true -DignoreNonCompile=true -DfailOnWarning=true ${{ matrix.HADOOP_PROFILE }} ||
./.github/scripts/display_dependency_analysis_error_message.sh
- name: forbidden api checks
if: ${{ matrix.java == 'jdk8' }}
run: ${MVN} forbiddenapis:check forbiddenapis:testCheck --fail-at-end

openjdk11_strict_compilation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup java 11
uses: actions/setup-java@v3
- name: pmd checks
if: ${{ matrix.java == 'jdk8' }}
run: ${MVN} pmd:check --fail-at-end # TODO: consider adding pmd:cpd-check

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

- name: intellij inspections
if: ${{ matrix.java == 'jdk8' }}
run: |
docker run --rm \
-v $(pwd):/project \
-v ~/.m2:/home/inspect/.m2 \
ccaominh/intellij-inspect:1.0.0 \
/project/pom.xml \
/project/.idea/inspectionProfiles/Druid.xml \
--levels ERROR \
--scope JavaInspectionsScope

- name: setup node
if: ${{ matrix.java == 'jdk8' }}
uses: actions/setup-node@v3
with:
distribution: 'zulu'
java-version: '11'
cache: 'maven'
node-version: 16.17.0

# 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: docs
if: ${{ matrix.java == 'jdk8' }}
run: |
(cd website && npm install)
cd website
npm run link-lint
npm run spellcheck

- name: web console
if: ${{ matrix.java == 'jdk8' }}
run: |
${MVN} test -pl 'web-console'
cd web-console
{ for i in 1 2 3; do npm run codecov && break || sleep 15; done }

- name: web console end-to-end test
if: ${{ matrix.java == 'jdk8' }}
run: |
./.github/scripts/setup_generate_license.sh
sudo apt-get update && sudo apt-get install python3 -y
curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | sudo -H python3
pip3 install wheel # install wheel first explicitly
pip3 install --upgrade pyyaml
web-console/script/druid build
web-console/script/druid start
(cd web-console && npm run test-e2e)
web-console/script/druid stop
Loading