Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

SizeConstraintExceededException on Using Livy : jar file size : 250 MB

Highlighted

SizeConstraintExceededException on Using Livy : jar file size : 250 MB

New Contributor

hi ,


I have modified the example from the following with the exception that is calling a method which is available in a jar which I am uploading using the uploadJar method. However, I am getting the following error



java.util.concurrent.ExecutionException: java.io.IOException: Internal Server Error: org.scalatra.servlet.SizeConstraintExceededException: Too large request or file

at java.util.concurrent.FutureTask.report(FutureTask.java:122)

at java.util.concurrent.FutureTask.get(FutureTask.java:192)

at livy.callSpark.RunMe$.delayedEndpoint$livy$callSpark$RunMe$1(RunMe.scala:21)

at livy.callSpark.RunMe$delayedInit$body.apply(RunMe.scala:11)

at scala.Function0$class.apply$mcV$sp(Function0.scala:34)

at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)

at scala.App$$anonfun$main$1.apply(App.scala:76)

at scala.App$$anonfun$main$1.apply(App.scala:76)

at scala.collection.immutable.List.foreach(List.scala:392)

at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)

at scala.App$class.main(App.scala:76)

at livy.callSpark.RunMe$.main(RunMe.scala:11)

at livy.callSpark.RunMe.main(RunMe.scala)

Caused by: java.io.IOException: Internal Server Error: org.scalatra.servlet.SizeConstraintExceededException: Too large request or file

at org.apache.livy.client.http.LivyConnection.sendRequest(LivyConnection.java:229)

at org.apache.livy.client.http.LivyConnection.post(LivyConnection.java:192)

at org.apache.livy.client.http.HttpClient$2.call(HttpClient.java:152)

at org.apache.livy.client.http.HttpClient$2.call(HttpClient.java:149)


I am using HDP 3.0


Any help will be appreciated


Regards,

Sumit