sumangala-patki opened a new pull request #2344: URL: https://github.com/apache/hadoop/pull/2344
This PR introduces a client-provided identifier to correlate all the filesystem requests generated by the client session. A client session here could be interacting with multiple storage accounts and hence multiple ABFS filesystem instances. Hence, a unique ID needs to be passed across all the filesystem instances. The client correlation-id appears in the client request header and is visible in the azure storage diagnostic logs. Tests include checks to ensure that the requests do not fail due to invalid inputs for the correlation Id. They also verify that the response header for the client request id contains this identifier if valid, and replaced with an empty string if invalid. The format for the client request header has been changed to client-correlation-id:client-request-id. We include tests for each of valid, invalid and empty strings as input for the correlation id. Validation checks for client correlation id configuration: A valid client correlation id is a string comprising only alphanumeric characters and/or hyphens. The string can be empty, but should not exceed 65 characters in length. If found invalid, an empty string is passed to the configuration instead. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
