You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/12/08 12:31:12 UTC

[GitHub] [druid] fhennig opened a new issue #12039: Quickstart Tutorial Fails with Extension "druid-s3-extensions" enabled

fhennig opened a new issue #12039:
URL: https://github.com/apache/druid/issues/12039


   ### Affected 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` in `druid.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](https://github.com/apache/druid/files/7675977/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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 commented on issue #12039: Quickstart Tutorial Fails with Extension "druid-s3-extensions" enabled

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #12039:
URL: https://github.com/apache/druid/issues/12039#issuecomment-991588425


   This is interesting. Because this exception message 
   ```
   module jdk.management does not "exports com.sun.management.internal" to unnamed module
   ``` 
   is usually reported by JDK9+ which include the java module feature.
   
   And I'm not sure the first exception has something to do with the later exception.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] adwk67 commented on issue #12039: Quickstart Tutorial Fails with Extension "druid-s3-extensions" enabled

Posted by GitBox <gi...@apache.org>.
adwk67 commented on issue #12039:
URL: https://github.com/apache/druid/issues/12039#issuecomment-1060614807


   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](https://druid.apache.org/docs/0.22.1/development/extensions-core/s3.html).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] fhennig commented on issue #12039: Quickstart Tutorial Fails with Extension "druid-s3-extensions" enabled

Posted by GitBox <gi...@apache.org>.
fhennig commented on issue #12039:
URL: https://github.com/apache/druid/issues/12039#issuecomment-990879446


   I forgot to attach that information, I am using Java 8:
   
           openjdk version "1.8.0_312"
           OpenJDK Runtime Environment Corretto-8.312.07.1 (build 1.8.0_312-b07)
           OpenJDK 64-Bit Server VM Corretto-8.312.07.1 (build 25.312-b07, mixed mode)
   
   I just ran everything  again to make sure. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] maltesander commented on issue #12039: Quickstart Tutorial Fails with Extension "druid-s3-extensions" enabled

Posted by GitBox <gi...@apache.org>.
maltesander commented on issue #12039:
URL: https://github.com/apache/druid/issues/12039#issuecomment-1046907067


   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?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 commented on issue #12039: Quickstart Tutorial Fails with Extension "druid-s3-extensions" enabled

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #12039:
URL: https://github.com/apache/druid/issues/12039#issuecomment-991588425


   This is interesting. Because this exception message 
   ```
   module jdk.management does not "exports com.sun.management.internal" to unnamed module
   ``` 
   is usually reported by JDK9+ which include the java module feature.
   
   And I'm not sure the first exception has something to do with the later exception.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org