David Johnson created USERGRID-654:
--------------------------------------

             Summary: AwsSdkS3BinaryStore dependencies break the REST module 
tests
                 Key: USERGRID-654
                 URL: https://issues.apache.org/jira/browse/USERGRID-654
             Project: Usergrid
          Issue Type: Bug
          Components: Stack
            Reporter: David Johnson
            Priority: Minor


The new AwsSdkS3BinaryStore implementation depends on Jackson 2.3.x data 
mapper, which conflicts with Jackson 1.x and causes the REST tests to fail.  

If you use Maven to exclude the Jackson 2.3.x object mapper and configure the 
REST tests to use AwsSdkS3BinaryStore, then the REST tests fail with the 
exception below, which indicates to me that AwsSdkS3BinaryStore will not work 
at runtime without Jackson 2.3.x object mapper.

/cc [~pandacat]: do you have any ideas about how to work around this issue? 
Have you had success with the REST module tests and your new AWS SDK based 
BinaryStore implementation.


java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper
        at com.amazonaws.util.json.Jackson.<clinit>(Jackson.java:32)
        at 
com.amazonaws.internal.config.InternalConfig.loadfrom(InternalConfig.java:230)
        at 
com.amazonaws.internal.config.InternalConfig.load(InternalConfig.java:247)
        at 
com.amazonaws.internal.config.InternalConfig$Factory.<clinit>(InternalConfig.java:282)
        at 
com.amazonaws.util.VersionInfoUtils.userAgent(VersionInfoUtils.java:139)
        at 
com.amazonaws.util.VersionInfoUtils.initializeUserAgent(VersionInfoUtils.java:134)
        at 
com.amazonaws.util.VersionInfoUtils.getUserAgent(VersionInfoUtils.java:95)
        at 
com.amazonaws.ClientConfiguration.<clinit>(ClientConfiguration.java:42)
        at 
org.apache.usergrid.services.assets.data.AwsSdkS3BinaryStore.getS3Client(AwsSdkS3BinaryStore.java:98)






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to