Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6446

S3 DataStore Connector OSGi configuration issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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"
      connectionTimeout=L"120000"
      maxConnections=L"40"
      maxErrorRetry=L"10"
      socketTimeout=L"120000"

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevengssns Steven Goossens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: