Re: MapR libraries shading issue

2017-06-28 Thread ani.desh1512
Cool. For future reference, I created a JIRA ticket: https://issues.apache.org/jira/browse/FLINK-7033 Thanks for all the help, guys. -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/MapR-l

Re: MapR libraries shading issue

2017-06-28 Thread Chesnay Schepler
I would say that this is a MapR issue. It's a good idea to add it to the docs in case someone else stumbles upon this. Would be great if you could open a JIRA for that. On 27.06.2017 19:35, ani.desh1512 wrote: Again as I mentioned in the MapR thread, So, after some more digging, I found out

Re: MapR libraries shading issue

2017-06-27 Thread ani.desh1512
Again as I mentioned in the MapR thread, So, after some more digging, I found out that you can make flink use the default java truststore by passing -Djavax.net.ssl.trustStore=$JAVA_HOME/jre/lib/security/cacerts as JVM_ARGS for Flink. I tested this approach with AWS, datadog along with MapR Stream

Re: MapR libraries shading issue

2017-06-26 Thread ani.desh1512
Pasting my reply from the MapR community thread: So, I have found a temporary workaround for this. Heres what I did: For the client, I found out the password of /opt/mapr/conf/ssl_trustore via ssl-client.xml For both Datadog and Amazon S3, I found out the certs chain that they were using (i could

Re: MapR libraries shading issue

2017-06-26 Thread Jörn Franke
The error that you mentioned seem to indicate that some certificates of certification authorities could not be found. You may want to add them to the trust store of the application. > On 26. Jun 2017, at 16:55, ani.desh1512 wrote: > > As Stephan pointed out, this seems more like a MapR libs me

Re: MapR libraries shading issue

2017-06-26 Thread ani.desh1512
As Stephan pointed out, this seems more like a MapR libs meddling with some jar. As I had mentioned in the original question, I run across the same problem when i use the aws sdk jar in my program. The error is as follows: /shaded.com.amazonaws.SdkClientException: Unable to execute HTTP request: s

Re: MapR libraries shading issue

2017-06-26 Thread Stephan Ewen
Okay, just curious because the guy mentioned the behavior changes with removing the MapR dependencies. Maybe these dependencies change the trust-store or certificate-store providers? On Mon, Jun 26, 2017 at 2:35 PM, Chesnay Schepler wrote: > This looks more like a certification problem as descr

Re: MapR libraries shading issue

2017-06-26 Thread Chesnay Schepler
This looks more like a certification problem as described here: https://github.com/square/okhttp/issues/2746 I don't think that shading could have anything to do with this. On 26.06.2017 00:09, ani.desh1512 wrote: I am trying to use Flink (1.3.0) with MapR(5.2.1). Accordingly, I built Flink fo