Created
November 8, 2018 20:29
-
-
Save nmukerje/9bcdd58343c70a3a39f2a31134608360 to your computer and use it in GitHub Desktop.
EMRFS Consistency TTL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== Questions === | |
How to automate to delete expired data from EmrFSMetadata | |
=== Actions === | |
step 1: enable TTL on deletionTTL attribute in EmrFSMetadata dynamodb table; | |
step 2: update emrfs-site.xml on all nodes in the EMR cluster. | |
Set fs.s3.consistent.metadata.delete.ttl.enabled to true | |
Set fs.s3.consistent.metadata.delete.ttl.expiration.seconds to 3600 (1h) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment