question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Quickstart Tutorial Fails with Extension "druid-s3-extensions" enabled

See original GitHub issue

Affected Version

0.22.0

Description

Steps to reproduce:

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:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
adwk67commented, Mar 7, 2022

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.

0reactions
maltesandercommented, Feb 21, 2022

I could reproduce that problem for druid 0.22.1. with:

openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found