Skip to content

Commit c879124

Browse files
authored
Update to version v1.0.5 (#36)
1 parent 57f2d2a commit c879124

27 files changed

+186
-98
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Steps to reproduce the behavior.
1717
A clear and concise description of what you expected to happen.
1818

1919
**Please complete the following information about the solution:**
20-
- [ ] Version: [e.g. v1.0.4]
20+
- [ ] Version: [e.g. v1.0.5]
2121

2222
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0021) - Video On Demand workflow with AWS Step Functions, MediaConvert, MediaPackage, S3, CloudFront and DynamoDB. Version **v5.0.0**_". If the description does not contain the version information, you can look at the mappings section of the template:
2323

Diff for: CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.5] - 2024-10-24
9+
10+
### Security
11+
12+
- Upgrade to Java 17 and NodeJS 20
13+
- Patched Apache Commons IO vulnerability
14+
- Change EC2 userdata script to install Python 3.10
15+
16+
### Fixed
17+
18+
- Fix Data Node Splitting in Tiers [#33](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/33)
19+
20+
### Added
21+
22+
- Apache curl alternative url for Druid and Zookeeper for installation in case archive.apache is unavailable
23+
824
## [1.0.4] - 2024-09-18
925

1026
### Security

Diff for: CODE_OF_CONDUCT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
## Code of Conduct
2-
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
3-
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
2+
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
3+
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
44
[email protected] with any additional questions or comments.

Diff for: CONTRIBUTING.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,23 @@ documentation, we greatly value feedback and contributions from our community.
66
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
77
information to effectively respond to your bug report or contribution.
88

9-
109
## Reporting Bugs/Feature Requests
1110

1211
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
1312

1413
When filing an issue, please check [existing open](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/issues), or [recently closed](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
1514
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
1615

17-
* A reproducible test case or series of steps
18-
* The version of our code being used
19-
* Any modifications you've made relevant to the bug
20-
* Anything unusual about your environment or deployment
21-
16+
- A reproducible test case or series of steps
17+
- The version of our code being used
18+
- Any modifications you've made relevant to the bug
19+
- Anything unusual about your environment or deployment
2220

2321
## Contributing via Pull Requests
22+
2423
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
2524

26-
1. You are working against the latest source on the *main* branch.
25+
1. You are working against the latest source on the _master_ branch.
2726
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
2827
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
2928

@@ -39,23 +38,22 @@ To send us a pull request, please:
3938
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
4039
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
4140

42-
4341
## Finding contributions to work on
44-
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/labels/help%20wanted) issues is a great place to start.
4542

43+
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/labels/help%20wanted) issues is a great place to start.
4644

4745
## Code of Conduct
46+
4847
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
4948
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
5049
[email protected] with any additional questions or comments.
5150

52-
5351
## Security issue notifications
54-
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5552

53+
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5654

5755
## Licensing
5856

59-
See the [LICENSE](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/blob/main/LICENSE.txt) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
57+
See the [LICENSE](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
6058

61-
We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
59+
We may ask you to sign a [Contributor License Agreement (CLA)](https://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.

Diff for: NOTICE.txt

+36-3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ This software includes third party software subject to the following copyrights:
5454
@aws-sdk/xml-builder under the Apache-2.0 license
5555
@babel/code-frame under the MIT license
5656
@babel/compat-data under the MIT license
57+
@babel/core under the MIT license.
5758
@babel/generator under the MIT license
5859
@babel/helper-compilation-targets under the MIT license
5960
@babel/helper-environment-visitor under the MIT license
@@ -86,6 +87,7 @@ This software includes third party software subject to the following copyrights:
8687
@babel/plugin-syntax-typescript under the MIT license
8788
@babel/template under the MIT license
8889
@babel/traverse under the MIT license
90+
@babel/types under the MIT license.
8991
@balena/dockerignore under the Apache-2.0 license
9092
@bcoe/v8-coverage under the MIT license
9193
@cspotcode/source-map-support under the MIT license
@@ -100,6 +102,7 @@ This software includes third party software subject to the following copyrights:
100102
@istanbuljs/load-nyc-config under the ISC license
101103
@istanbuljs/schema under the MIT license
102104
@jest/console under the MIT license
105+
@jest/core under the MIT license.
103106
@jest/environment under the MIT license
104107
@jest/expect under the MIT license
105108
@jest/expect-utils under the MIT license
@@ -111,6 +114,7 @@ This software includes third party software subject to the following copyrights:
111114
@jest/test-result under the MIT license
112115
@jest/test-sequencer under the MIT license
113116
@jest/transform under the MIT license
117+
@jest/types under the MIT license.
114118
@jridgewell/gen-mapping under the MIT license
115119
@jridgewell/resolve-uri under the MIT license
116120
@jridgewell/set-array under the MIT license
@@ -122,10 +126,12 @@ This software includes third party software subject to the following copyrights:
122126
@pkgr/utils under the MIT license
123127
@sinclair/typebox under the MIT license
124128
@sinonjs/commons under the BSD-3-Clause license
129+
@sinonjs/fake-timers under the BSD-3-Clause license.
125130
@sinonjs/samsam under the BSD-3-Clause license
126131
@sinonjs/text-encoding under the (Unlicense OR Apache-2.0) license
127132
@smithy/abort-controller under the Apache-2.0 license
128133
@smithy/config-resolver under the Apache-2.0 license
134+
@smithy/core under the Apache-2.0 license.
129135
@smithy/credential-provider-imds under the Apache-2.0 license
130136
@smithy/eventstream-codec under the Apache-2.0 license
131137
@smithy/fetch-http-handler under the Apache-2.0 license
@@ -147,6 +153,7 @@ This software includes third party software subject to the following copyrights:
147153
@smithy/shared-ini-file-loader under the Apache-2.0 license
148154
@smithy/signature-v4 under the Apache-2.0 license
149155
@smithy/smithy-client under the Apache-2.0 license
156+
@smithy/types under the Apache-2.0 license.
150157
@smithy/url-parser under the Apache-2.0 license
151158
@smithy/util-base64 under the Apache-2.0 license
152159
@smithy/util-body-length-browser under the Apache-2.0 license
@@ -155,6 +162,7 @@ This software includes third party software subject to the following copyrights:
155162
@smithy/util-config-provider under the Apache-2.0 license
156163
@smithy/util-defaults-mode-browser under the Apache-2.0 license
157164
@smithy/util-defaults-mode-node under the Apache-2.0 license
165+
@smithy/util-endpoints under the Apache-2.0 license.
158166
@smithy/util-hex-encoding under the Apache-2.0 license
159167
@smithy/util-middleware under the Apache-2.0 license
160168
@smithy/util-retry under the Apache-2.0 license
@@ -190,9 +198,12 @@ This software includes third party software subject to the following copyrights:
190198
@types/yargs under the MIT license
191199
@types/yargs-parser under the MIT license
192200
@typescript-eslint/eslint-plugin under the MIT license
201+
@typescript-eslint/parser under the BSD-2-Clause license.
193202
@typescript-eslint/scope-manager under the MIT license
194203
@typescript-eslint/type-utils under the MIT license
204+
@typescript-eslint/types under the MIT license.
195205
@typescript-eslint/typescript-estree under the BSD-2-Clause license
206+
@typescript-eslint/utils under the MIT license.
196207
@typescript-eslint/visitor-keys under the MIT license
197208
acorn under the MIT license
198209
acorn-jsx under the MIT license
@@ -298,9 +309,11 @@ com.nimbusds/nimbus-jose-jwt under the Apache-2.0 license
298309
com.nimbusds/oauth2-oidc-sdk under the Apache-2.0 license
299310
com.ning/compress-lzf under the Apache-2.0 license
300311
com.opencsv/opencsv under the Apache-2.0 license
301-
com.squareup.okhttp/okhttp under the Apache-2.0 license
302312
com.squareup.okhttp3/mockwebserver under the Apache-2.0 license
313+
com.squareup.okhttp3/okhttp under the Apache-2.0 license.
314+
com.squareup.okhttp/okhttp under the Apache-2.0 license
303315
com.squareup.okio/okio under the Apache-2.0 license
316+
com.squareup.okio/okio-jvm under the Apache-2.0 license.
304317
com.sun.activation/javax.activation under the (CDDL-1.0 OR GPL-2.0-with-classpath-exception) license
305318
com.sun.jersey.contribs/jersey-guice under the CDDL-1.1 license
306319
com.sun.jersey.contribs/jersey-guice under the GPL-2.0-with-classpath-exception license
@@ -364,6 +377,7 @@ estraverse under the BSD-2-Clause license
364377
esutils under the BSD-2-Clause license
365378
execa under the MIT license
366379
exit under the MIT license
380+
expect under the MIT license.
367381
exponential-backoff under the Apache-2.0 license
368382
fast-deep-equal under the MIT license
369383
fast-diff under the Apache-2.0 license
@@ -391,7 +405,9 @@ get-package-type under the MIT license
391405
get-stream under the MIT license
392406
glob under the ISC license
393407
glob-parent under the ISC license
408+
globals under the MIT license.
394409
globby under the MIT license
410+
graceful-fs under the ISC license.
395411
graphemer under the MIT license
396412
has under the MIT license
397413
has-flag under the MIT license
@@ -444,8 +460,11 @@ is-stream under the MIT license
444460
is-wsl under the MIT license
445461
isarray under the MIT license
446462
isexe under the ISC license
463+
istanbul-lib-coverage under the BSD-3-Clause license.
447464
istanbul-lib-instrument under the BSD-3-Clause license
465+
istanbul-lib-report under the BSD-3-Clause license.
448466
istanbul-lib-source-maps under the BSD-3-Clause license
467+
istanbul-reports under the BSD-3-Clause license.
449468
it.unimi.dsi/fastutil under the Apache-2.0 license
450469
it.unimi.dsi/fastutil-core under the Apache-2.0 license
451470
it.unimi.dsi/fastutil-extra under the Apache-2.0 license
@@ -462,6 +481,7 @@ javax.validation/validation-api under the Apache-2.0 license
462481
javax.ws.rs/jsr311-api under the CDDL-1.0 license
463482
javax.xml.bind/jaxb-api under the CDDL-1.1 license
464483
javax.xml.bind/jaxb-api under the GPL-2.0-with-classpath-exception license
484+
jest under the MIT license.
465485
jest-changed-files under the MIT license
466486
jest-circus under the MIT license
467487
jest-cli under the MIT license
@@ -491,11 +511,12 @@ jest-worker under the MIT license
491511
Jinja2 under the BSD-3-Clause license
492512
joda-time/joda-time under the Apache-2.0 license
493513
js-tokens under the MIT license
514+
js-yaml under the MIT license.
494515
jsesc under the MIT license
516+
json5 under the MIT license
495517
json-parse-even-better-errors under the MIT license
496518
json-schema-traverse under the MIT license
497519
json-stable-stringify-without-jsonify under the MIT license
498-
json5 under the MIT license
499520
jsonfile under the MIT license
500521
jsonschema under the MIT license
501522
junit/junit under the EPL-1.0 license
@@ -515,8 +536,8 @@ make-dir under the MIT license
515536
make-error under the ISC license
516537
makeerror under the BSD-3-Clause license
517538
MarkupSafe under the BSD-3-Clause license
518-
merge-stream under the MIT license
519539
merge2 under the MIT license
540+
merge-stream under the MIT license
520541
micromatch under the MIT license
521542
mime-db under the MIT license
522543
mime-types under the MIT license
@@ -527,6 +548,7 @@ mock under the 0BSD license
527548
moment under the MIT license
528549
moto under the Apache-2.0 license
529550
ms under the MIT license
551+
mustache under the MIT license.
530552
natural-compare under the MIT license
531553
natural-compare-lite under the MIT license
532554
net.bytebuddy/byte-buddy under the Apache-2.0 license
@@ -539,6 +561,7 @@ net.minidev/accessors-smart under the Apache-2.0 license
539561
net.minidev/json-smart under the Apache-2.0 license
540562
net.thisptr/jackson-jq under the Apache-2.0 license
541563
nise under the BSD-3-Clause license
564+
node-forge under the BSD-3-Clause license.
542565
node-int64 under the MIT license
543566
node-releases under the MIT license
544567
normalize-path under the MIT license
@@ -627,6 +650,7 @@ org.glassfish/jakarta.el under the GPL-2.0-with-classpath-exception license
627650
org.glassfish/javax.el under the (CDDL-1.0 OR GPL-2.0-with-classpath-exception) license
628651
org.hamcrest/hamcrest-core under the BSD-3-Clause license
629652
org.hibernate.validator/hibernate-validator under the Apache-2.0 license
653+
org.hibernate/hibernate-validator under the Apache-2.0 license.
630654
org.hyperic/sigar under the Apache-2.0 license
631655
org.jboss.logging/jboss-logging under the Apache-2.0 license
632656
org.jdbi/jdbi under the Apache-2.0 license
@@ -674,6 +698,7 @@ pirates under the MIT license
674698
pkg-dir under the MIT license
675699
pluggy under the MIT license
676700
prelude-ls under the MIT license
701+
prettier under the MIT license.
677702
prettier-linter-helpers under the MIT license
678703
pretty-format under the MIT license
679704
prompts under the MIT license
@@ -704,15 +729,20 @@ rimraf under the ISC license
704729
run-applescript under the MIT license
705730
run-parallel under the MIT license
706731
s3transfer under the Apache-2.0 license
732+
semver under the ISC license.
707733
setuptools under the MIT license
708734
shebang-command under the MIT license
709735
shebang-regex under the MIT license
710736
signal-exit under the ISC license
737+
sinon under the BSD-3-Clause license.
711738
sisteransi under the MIT license
712739
slash under the MIT license
713740
slice-ansi under the MIT license
714741
software.amazon.ion/ion-java under the Apache-2.0 license
742+
source-map under the BSD-3-Clause license.
743+
source-map-support under the MIT license.
715744
sprintf-js under the BSD-3-Clause license
745+
stack-utils under the MIT license.
716746
string-length under the MIT license
717747
string-width under the MIT license
718748
strip-ansi under the MIT license
@@ -745,6 +775,7 @@ uri-js under the BSD-2-Clause license
745775
urlgrabber under the GNU Lesser General Public License v2 or later (LGPLv2+) license
746776
urlgrabber under the LGPL-2.0-or-later license
747777
urllib3 under the MIT license
778+
uuid under the MIT license.
748779
v8-compile-cache-lib under the MIT license
749780
v8-to-istanbul under the ISC license
750781
walker under the Apache-2.0 license
@@ -759,6 +790,8 @@ xmltodict under the MIT license
759790
y18n under the ISC license
760791
yallist under the ISC license
761792
yaml under the ISC license
793+
yargs under the MIT license.
794+
yargs-parser under the ISC license.
762795
yn under the MIT license
763796
yocto-queue under the MIT license
764797

Diff for: README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ The solution deploys the following components that work together to provide a pr
125125

126126
- The latest version of the [AWS CLI](https://aws.amazon.com/cli/), installed and configured.
127127
- The latest version of the [AWS CDK](https://docs.aws.amazon.com/cdk/latest/guide/home.html).
128-
- [Nodejs](https://docs.npmjs.com/getting-started) version 18 or newer.
128+
- [Nodejs](https://docs.npmjs.com/getting-started) version 20 or newer.
129129
- [Python](https://www.python.org/) version 3.12 or newer.
130130
- [Git](https://git-scm.com/) command line
131131
- Java Runtime
132-
- The solution requires a Java 8 Runtime. We strongly recommend using [Amazon Corretto 8](https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html). Alternatively, you can also use other OpenJDKs such as [Eclipse Temurin](https://adoptium.net/en-GB/temurin/releases/?version=8).
132+
- The solution requires a Java 17 Runtime. We strongly recommend using [Amazon Corretto 17](https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html). Alternatively, you can also use other OpenJDKs such as [Eclipse Temurin](https://adoptium.net/en-GB/temurin/releases/?version=17).
133133
- [Maven](https://maven.apache.org/install.html.) (>=3.5.2)
134-
- We recommend configuring Maven to use an OpenJDK8 compatible JAVA version, such as Amazon Corretto 8.
134+
- We recommend configuring Maven to use an OpenJDK17 compatible JAVA version, such as Amazon Corretto 17.
135135
- [Docker](https://docs.docker.com/get-docker/)
136136
- [Curl](https://curl.se/download.html)
137137

@@ -149,16 +149,16 @@ Use the `source/cdk.json` file to configure the solution. It is recommended to c
149149

150150
**AMI configuration (optional)**
151151

152-
The `EC2` hosting option by default provisions EC2 instances with Amazon Linux 2. This can be overriden by specifying the `customAmi` object in the `cdk.json` file. This object should provide the AMI name and owners' account IDs or alias that `cdk` would use to perform an AMI lookup. Depending on the instance types utilized in the cluster, please supply the corresponding AMI for "arm64" (Graviton instances) or "amd64" (x86-based instance types). The solution has been tested with Amazon Linux, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
152+
The `EC2` hosting option by default provisions EC2 instances with Amazon Linux 2. This can be overriden by specifying the `customAmi` object in the `cdk.json` file. This object should provide the AMI name and owners' account IDs or alias that `cdk` would use to perform an AMI lookup. Depending on the instance types utilized in the cluster, please supply the corresponding AMI for "arm64" (Graviton instances) or "amd64" (x86-based instance types). The solution has been tested with Amazon Linux 2 and Ubuntu 22.04 LTS.
153153

154154
```
155155
"customAmi": {
156156
"arm64": {
157-
"name": "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server*",
157+
"name": "ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-arm64-server*",
158158
"owners": ["amazon"]
159159
},
160160
"amd64": {
161-
"name": "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server*",
161+
"name": "ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server*",
162162
"owners": ["amazon"]
163163
}
164164
},

0 commit comments

Comments
 (0)