Quickstart Tutorial Fails with Extension "druid-s3-extensions" enabled
See original GitHub issueAffected Version
0.22.0
Description
Steps to reproduce:
- Download a fresh 0.22.0 installation.
- In
conf/druid/single-server/micro-quickstart/_common/common.runtime.properties
indruid.extensions.loadList
add"druid-s3-extensions"
- Start the quickstart:
./bin/start-micro-quickstart
- Follow the steps to ingest the wiki-ticker test data from the quickstart: https://druid.apache.org/docs/latest/tutorials/index.html#step-4-load-data
- The job reports
FAILED
. I’ve attached the logs to this issue (index_parallel_wiki-ticker_hjmbmoen_2021-12-08T12:22:42.895Z.log)
The first exception is this one: java.lang.reflect.InaccessibleObjectException: Unable to make public long[] com.sun.management.internal.HotSpotThreadImpl.getThreadAllocatedBytes(long[]) accessible: module jdk.management does not "exports com.sun.management.internal" to unnamed module @79dc5318
but the task continues after that, until: WARN [main] com.amazonaws.util.EC2MetadataUtils - Unable to retrieve the requested metadata (/latest/dynamic/instance-identity/document). Failed to connect to service endpoint: com.amazonaws.SdkClientException: Failed to connect to service endpoint:
I would expect the task to finish successfully.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
GitAhead | Quickstart Tutorial - YouTube
Navigate your git history and search code like never before! This is a tutorial to help get you started with GitAhead.
Read more >How To Use Git Integration in Visual Studio Code - DigitalOcean
Open Visual Studio Code and access the built-in terminal. You can open this by using the keyboard shortcut CTRL + ` on Linux,...
Read more >Source Control with Git in Visual Studio Code
Using Git source control in VS Code. Visual Studio Code has integrated source control management (SCM) and includes Git support out-of-the-box.
Read more >Getting started with Git and AWS CodeCommit
Provides a tutorial on using Git commands when working with a CodeCommit ... (Optional) Select Enable Amazon CodeGuru Reviewer for Java and Python...
Read more >Git LFS - large file storage | Atlassian Git Tutorial
Git LFS is a Git extension that improves handling of large files by lazily downloading the needed versions during checkout, rather than during...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Having looked at this in a bit more detail, it seems that the s3-extension requires - at a minimum - a value for
druid.s3.endpoint.url
in the runtime properties. What is not so clear from the documentation is that this cannot be provided via the console (in contrast to other things like bucket names and access/storage keys). Maybe a comment to this affect could be added to the s3-extension docs.I could reproduce that problem for druid 0.22.1. with:
The quickstart tutorial does not work if the s3-extension is loaded but not configured.
The quickstart tutorial does work with loaded s3-extension and proper s3 credentials.
Is that behavior expected?