krisroops opened a new issue, #11674:
URL: https://github.com/apache/iceberg/issues/11674

   ### Apache Iceberg version
   
   None
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug 🐞
   
   I'm setting up  a spark iceberg cluster on local environment by spinning up 
containers using docker compose. Reusing official 
tabulario/spark-iceberg,tabulario/iceberg-rest:0.2.0, amazon-dynamodblocal 
images with rest catalog and minio store.
   
         - AWS_ACCESS_KEY_ID=TempKeyId123
         - AWS_SECRET_ACCESS_KEY=TempSecretAccessKey123
         - AWS_REGION=us-east-1
         - CATALOG_WAREHOUSE=s3://warehouse/
         - CATALOG_IO__IMPL=org.apache.iceberg.aws.s3.S3FileIO
         - CATALOG_S3_ENDPOINT=http://minio:9000
         - 
CATALOG_CATALOG__IMPL=org.apache.iceberg.aws.dynamodb.DynamoDbCatalog    
         - CATALOG_DYNAMODB_TABLE__NAME=demo_warehouse 
         - CATALOG_URI= http://dynamodb-local:8000
   -------------------stack 
trace--------------------------------------------------------------------------------------------
   
   iceberg-rest    | Exception in thread "main" 
software.amazon.awssdk.services.dynamodb.model.DynamoDbException: The security 
token included in the request is invalid. (Service: DynamoDb, Status Code: 400, 
Request ID: ******************masked************************************)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handleErrorResponse(CombinedResponseHandler.java:125)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handleResponse(CombinedResponseHandler.java:82)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handle(CombinedResponseHandler.java:60)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handle(CombinedResponseHandler.java:41)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.HandleResponseStage.execute(HandleResponseStage.java:40)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.HandleResponseStage.execute(HandleResponseStage.java:30)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptTimeoutTrackingStage.execute(ApiCallAttemptTimeoutTrackingStage.java:73)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptTimeoutTrackingStage.execute(ApiCallAttemptTimeoutTrackingStage.java:42)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.TimeoutExceptionHandlingStage.execute(TimeoutExceptionHandlingStage.java:78)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.TimeoutExceptionHandlingStage.execute(TimeoutExceptionHandlingStage.java:40)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptMetricCollectionStage.execute(ApiCallAttemptMetricCollectionStage.java:50)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptMetricCollectionStage.execute(ApiCallAttemptMetricCollectionStage.java:36)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.RetryableStage.execute(RetryableStage.java:81)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.RetryableStage.execute(RetryableStage.java:36)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.StreamManagingStage.execute(StreamManagingStage.java:56)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.StreamManagingStage.execute(StreamManagingStage.java:36)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.executeWithTimer(ApiCallTimeoutTrackingStage.java:80)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.execute(ApiCallTimeoutTrackingStage.java:60)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.execute(ApiCallTimeoutTrackingStage.java:42)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallMetricCollectionStage.execute(ApiCallMetricCollectionStage.java:48)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallMetricCollectionStage.execute(ApiCallMetricCollectionStage.java:31)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ExecutionFailureExceptionReportingStage.execute(ExecutionFailureExceptionReportingStage.java:37)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.pipeline.stages.ExecutionFailureExceptionReportingStage.execute(ExecutionFailureExceptionReportingStage.java:26)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.http.AmazonSyncHttpClient$RequestExecutionBuilderImpl.execute(AmazonSyncHttpClient.java:193)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.invoke(BaseSyncClientHandler.java:103)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.doExecute(BaseSyncClientHandler.java:167)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.lambda$execute$1(BaseSyncClientHandler.java:82)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.measureApiCallSuccess(BaseSyncClientHandler.java:175)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:76)\
   iceberg-rest    |       at 
software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45)\
   iceberg-rest    |       at 
software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:56)\
   iceberg-rest    |       at 
software.amazon.awssdk.services.dynamodb.DefaultDynamoDbClient.describeTable(DefaultDynamoDbClient.java:2290)\
   iceberg-rest    |       at 
org.apache.iceberg.aws.dynamodb.DynamoDbCatalog.dynamoDbTableExists(DynamoDbCatalog.java:576)\
   iceberg-rest    |       at 
org.apache.iceberg.aws.dynamodb.DynamoDbCatalog.ensureCatalogTableExistsOrCreate(DynamoDbCatalog.java:584)\
   iceberg-rest    |       at 
org.apache.iceberg.aws.dynamodb.DynamoDbCatalog.initialize(DynamoDbCatalog.java:145)\
   iceberg-rest    |       at 
org.apache.iceberg.aws.dynamodb.DynamoDbCatalog.initialize(DynamoDbCatalog.java:119)\
   iceberg-rest    |       at 
org.apache.iceberg.CatalogUtil.loadCatalog(CatalogUtil.java:237)\
   iceberg-rest    |       at 
org.apache.iceberg.CatalogUtil.buildIcebergCatalog(CatalogUtil.java:282)\
   iceberg-rest    |       at 
org.apache.iceberg.rest.RESTCatalogServer.backendCatalog(RESTCatalogServer.java:83)\
   iceberg-rest    |       at 
org.apache.iceberg.rest.RESTCatalogServer.main(RESTCatalogServer.java:87)}
   
   ### Willingness to contribute
   
   - [ ] I can contribute a fix for this bug independently
   - [X] I would be willing to contribute a fix for this bug with guidance from 
the Iceberg community
   - [ ] I cannot contribute a fix for this bug at this time


-- 
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: issues-unsubscr...@iceberg.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to