You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Steven Goossens (JIRA)" <ji...@apache.org> on 2017/07/11 21:43:00 UTC
[jira] [Created] (OAK-6446) S3 DataStore Connector OSGi
configuration issues
Steven Goossens created OAK-6446:
------------------------------------
Summary: S3 DataStore Connector OSGi configuration issues
Key: OAK-6446
URL: https://issues.apache.org/jira/browse/OAK-6446
Project: Jackrabbit Oak
Issue Type: Bug
Reporter: Steven Goossens
Priority: Minor
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/Utils.java#L198
The bundle does not provide sensible defaults for the last 4 properties in the example config below. When they are missing, a NumberFormatException is thrown (though only visible in debug logging, which makes it hard to track down).
Additionally, the bundle should be able to handle properties that are correctly typed. The configuration below does not work because of the 'L' prefix.
service.pid="org.apache.jackrabbit.oak.plugins.blob.datastore.SharedS3DataStore"
path="/data/apps/aem/datastore"
s3Bucket="387323646340--aem-datastore"
s3Region="eu-west-1"
{color:red}connectionTimeout=*L*"120000"
maxConnections=*L*"40"
maxErrorRetry=*L*"10"
socketTimeout=*L*"120000"{color}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)