From df578c07ecf354d87aa97e3ace47099e2ffea9d7 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Mon, 18 Mar 2019 12:51:48 +0000 Subject: [PATCH] HADOOP-16195 MarshalledCredentials toString Change-Id: I4f1bdd2be0d5760c5501dce6edb6122499108b53 --- .../org/apache/hadoop/fs/s3a/auth/MarshalledCredentials.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/auth/MarshalledCredentials.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/auth/MarshalledCredentials.java index 5737dbc4aa6..e9d6173c46d 100644 --- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/auth/MarshalledCredentials.java +++ b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/auth/MarshalledCredentials.java @@ -227,7 +227,7 @@ public final class MarshalledCredentials implements Writable, Serializable { // session/role credentials may have an expiry and role ARN. return String.format("session credentials, expiry %s; %s(%s)", getExpirationDateTime() - .map(x -> x.format(DateTimeFormatter.ISO_DATE)) + .map(x -> x.format(DateTimeFormatter.ISO_DATE_TIME)) .orElse("unknown"), (isNotEmpty(roleARN) ? ("role \"" + roleARN + "\" ")