Re: Exception using amazonaws library

2014-12-12 Thread Albert ManyĆ 
Hi, Thanks for your reply. I tried with the jar you pointed but It complains about missing HttpPatch that appears on httpclient 4.2 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/client/methods/HttpPatch at com.amazonaws.http.AmazonHttpClient.(AmazonHttpClient.java:12

Re: Exception using amazonaws library

2014-12-12 Thread Akhil Das
Its a jar conflict (http-client jar), You could download the appropriate version of that jar and put that in the classpath before your assembly jar and hopefully it will avoid the conflict. Thanks Best Regards On

Exception using amazonaws library

2014-12-11 Thread Albert ManyĆ 
Hi, I've made a simple script in scala that after doing a spark sql query it sends the result to AWS's cloudwatch. I've tested both parts individually (the spark sql one and the cloudwatch one) and they worked fine. The trouble comes when I execute the script through spark-submit that gives me th