diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/rpc/OzoneRpcClient.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/rpc/OzoneRpcClient.java index daa96397573..13cb370746f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/rpc/OzoneRpcClient.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/rpc/OzoneRpcClient.java @@ -57,6 +57,7 @@ import org.apache.hadoop.scm.protocolPB import org.apache.hadoop.scm.protocolPB .StorageContainerLocationProtocolPB; import org.apache.hadoop.security.UserGroupInformation; +import org.apache.hadoop.util.Time; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -201,6 +202,7 @@ public class OzoneRpcClient implements OzoneClient, Closeable { .setOwnerName(owner) .setVolume(volumeName) .setQuotaInBytes(quota) + .setCreationTime(Time.now()) .addOzoneAcls(KSMPBHelper.convertOzoneAcl(userAcl)); List listOfAcls = new ArrayList<>();