steveloughran commented on a change in pull request #802: HADOOP-16279.
S3Guard: Implement time-based (TTL) expiry for entries …
URL: https://github.com/apache/hadoop/pull/802#discussion_r289506271
##########
File path:
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java
##########
@@ -388,8 +389,8 @@ public void initialize(URI name, Configuration
originalConf)
getMetadataStore(), allowAuthoritative);
}
initMultipartUploads(conf);
- long authDirTtl = conf.getLong(METADATASTORE_AUTHORITATIVE_DIR_TTL,
- DEFAULT_METADATASTORE_AUTHORITATIVE_DIR_TTL);
+ long authDirTtl = conf.getLong(METADATASTORE_METADATA_TTL,
+ DEFAULT_METADATASTORE_METADATA_TTL);
Review comment:
Use Configuration.getTimeDuration(); the original patch should have doen
this too.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]