Re: Can not deserialize instance of scala.collection.immutable.List out of VALUE_STRING (through reference chain: org.apache.livy.server.interactive.CreateInteractiveRequest)

2018-01-29 Thread Kyunam Kim
I am now so embarrased... Thanks Marcelo !!! On Mon, Jan 29, 2018 at 3:37 PM, Marcelo Vanzin wrote: > "jars" is a list so you should probably try: > > "jars": [ "hdfs://myserver:8020/user/root/1x/my-lib-SNAPSHOT.jar" ] > > On Mon, Jan 29, 2018 at 3:35 PM, Kyunam Kim wrote: > > I get the follo

Re: In POST /sessions, what's the difference between "jars" and "spark.jar" in conf ?

2018-01-29 Thread Kyunam Kim
Thanks Jerry. When I tried "jars", I get Can not deserialize instance of scala.collection.immutable.List out of VALUE_STRING token\n at [Source: HttpInputOverHTTP@1f8a778f; line: 1, column: 57] (through reference chain: org.apache.livy.server.interactive.CreateInteractiveRequest[\"jars\"]). I jus

Re: Can not deserialize instance of scala.collection.immutable.List out of VALUE_STRING (through reference chain: org.apache.livy.server.interactive.CreateInteractiveRequest)

2018-01-29 Thread Marcelo Vanzin
"jars" is a list so you should probably try: "jars": [ "hdfs://myserver:8020/user/root/1x/my-lib-SNAPSHOT.jar" ] On Mon, Jan 29, 2018 at 3:35 PM, Kyunam Kim wrote: > I get the following when I try "jars" in POST /sessions. > > I tried: > - "jars": "hdfs://myserver:8020/user/root/1x/my-lib-SNAPS

Can not deserialize instance of scala.collection.immutable.List out of VALUE_STRING (through reference chain: org.apache.livy.server.interactive.CreateInteractiveRequest)

2018-01-29 Thread Kyunam Kim
I get the following when I try "jars" in POST /sessions. I tried: - "jars": "hdfs://myserver:8020/user/root/1x/my-lib-SNAPSHOT.jar" - "jars": "/user/root/1x/my-lib-SNAPSHOT.jar" livy.spark.deploy-mode = cluster (client is also tried) Basically, I just want to load my custom library into LIVY. B