sumangala-patki opened a new pull request #2520:
URL: https://github.com/apache/hadoop/pull/2520


   Adding a set of identifiers to the `X_MS_CLIENT_REQUEST_ID` header to help 
correlate requests. This header contains IDs concatenated into a string, and 
appears in the storage diagnostic logs.
   
   The clientRequestId guid used to identify requests is uniquely generated for 
each HTTP request. The additional identifiers will help group and/or filter 
requests for analysis. Of these, the clientCorrelationId is a unique identifier 
that can be provided by the user. The rest are generated by the driver.
   
   Two configs introduced:
   1. `fs.azure.client.correlation.id` - takes String for clientCorrelationId 
(alphanumeric characters/hyphens, max length = 72)
   2. `fs.azure.tracingcontext.format` - option for selecting format of IDs to 
be included in header [select enum from `SINGLE_ID_FORMAT` (existing format), 
`ALL_ID_FORMAT` (new default), `TWO_ID_FORMAT`].
   
   Tests to check format of header and validate the identifiers have been 
added. The tests also ensure that an invalid config input does not result in 
request failure.


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

Reply via email to