You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Fabian Morgan (Jira)" <ji...@apache.org> on 2026/03/17 22:00:00 UTC

[jira] [Created] (HDDS-14851) [STS] Better Handling for PayloadTooLarge and Small Perf Fix

Fabian Morgan created HDDS-14851:
------------------------------------

             Summary: [STS] Better Handling for PayloadTooLarge and Small Perf Fix
                 Key: HDDS-14851
                 URL: https://issues.apache.org/jira/browse/HDDS-14851
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Fabian Morgan
            Assignee: Fabian Morgan


Currently, when the request payload for an STS call is greater than the current max (around 32KB), an Unknown error is thrown in the AWS CLI.  This ticket updates the error to give a proper *PayloadTooLarge* error.

Also, separately, *JAXBContext.newInstance()* is a relatively expensive call (some estimates between 100ms and several seconds).  We don't want to do this for every STS response response, especially since it is thread-safe, so cache the first invocation of it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org