Created
July 27, 2016 10:31
-
-
Save trekawek/cc40d91254fcd1447bbf36c29ae49957 to your computer and use it in GitHub Desktop.
LengthCachingDataStore configuration
This file contains 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
4432|dd10bca036f3134352c63e534d4568a3d2ac2fdc | |
32167|dd10bca036f3134567c63e534d4568a3d2ac2fdc |
This file contains 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
s3cmd ls s3://bucket-name \ | |
| awk '{ split($4,url,"/"); print $3"|"url[4] }' \ | |
| sed -e 's/\-//g' > datastore-list.txt |
This file contains 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
<!-- replace the current datastore configuration with: --> | |
<DataStore class="org.apache.jackrabbit.oak.upgrade.blob.LengthCachingDataStore"> | |
<param name="mappingFilePath" value="/path/to/datastore-list.txt" /> | |
<param name="delegateClass" value="org.apache.jackrabbit.aws.ext.ds.S3DataStore" /> | |
<param name="delegateConfigFilePath" value="/path/to/s3datastore.properties"/> | |
</DataStore> |
This file contains 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
proactiveCaching=false | |
recLengthCacheSize=10000 | |
config=/path/to/crx-quickstart/repository/aws.properties | |
secret=boom |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment