pradeepgv42 opened a new issue #5616:
URL: https://github.com/apache/incubator-pinot/issues/5616


   I am seeing below exception trying to use S3 as deep storage. 
   Seems like an issue with aws-sdk and httpclient version used. 
   
   NoSuchMethodException was thrown when disabling normalizeUri. This indicates 
you are using an old version (< 4.5.8) of Apache http client. It is recommended 
to use http client version >= 4.5.9 to avoid the breaking change introduced in 
apache client 4.5.7 and the latency in exception handling. See 
https://github.com/aws/aws-sdk-java/issues/1919 for more information
   Exception in thread "main" java.lang.BootstrapMethodError: call site 
initialization exception
           at java.lang.invoke.CallSite.makeSite(CallSite.java:341)
           at 
java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
           at 
java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
           at 
software.amazon.awssdk.http.apache.ApacheHttpClient.transformHeaders(ApacheHttpClient.java:268)
           at 
software.amazon.awssdk.http.apache.ApacheHttpClient.createResponse(ApacheHttpClient.java:253)
           at 
software.amazon.awssdk.http.apache.ApacheHttpClient.execute(ApacheHttpClient.java:233)
           at 
software.amazon.awssdk.http.apache.ApacheHttpClient.access$500(ApacheHttpClient.java:98)
           at 
software.amazon.awssdk.http.apache.ApacheHttpClient$1.call(ApacheHttpClient.java:213)
   
   
   Changing the top-level pom.xml seems to work
   
          <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
   -        <version>4.5.3</version>
   +        <version>4.5.9</version>
          </dependency>
          <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpcore</artifactId>
   -        <version>4.4.6</version>
   +        <version>4.4.9</version>
          </dependency>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to