This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new df578c0  HADOOP-16195 MarshalledCredentials toString
df578c0 is described below

commit df578c07ecf354d87aa97e3ace47099e2ffea9d7
Author: Steve Loughran <ste...@apache.org>
AuthorDate: Mon Mar 18 12:51:48 2019 +0000

    HADOOP-16195 MarshalledCredentials toString
    
    Change-Id: I4f1bdd2be0d5760c5501dce6edb6122499108b53
---
 .../main/java/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 5737dbc..e9d6173 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 + "\" ")


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to