Skip to content

Commit 86673fe

Browse files
committed
HADOOP-17511. Auditing, stabilization
* Select is spanned properly * HttpReferrer adds dynamic eval of current thread. * Every entry point in S3A code which creates a span is tagged @AuditSpan.AuditEntryPoint. This is to hint what is/isn't spanned. Public code MUST go through an AuditEntryPoint; internal code within an existing span MUST NOT -doing so will lose the first span. +revert test fix of ITestAssumeRole as it is covered in HADOOP-17476/apache#2777 Change-Id: I2cfdba907df0dcc76629e5af8effeed8d25d5933
1 parent 5249f01 commit 86673fe

22 files changed

+458
-256
lines changed

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/MultipartUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public String toString() {
177177

178178
@Retries.RetryTranslated
179179
private void requestNextBatch() throws IOException {
180-
try (final AuditSpan span = auditSpan.activate()) {
180+
try (AuditSpan span = auditSpan.activate()) {
181181
ListMultipartUploadsRequest req = requestFactory
182182
.newListMultipartUploadsRequest(prefix);
183183
if (!firstListing) {

0 commit comments

Comments
 (0)