livy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kant kodali <>
Subject Problem serializing list ?
Date Tue, 30 Jan 2018 10:41:28 GMT
Hi All,

I get a serialization error when I try submit a job to livy. I am not sure
what I am doing wrong?

public class MyJob implements Job<String> {
    private final String *name*;
    private List<String> cols;
    private List<String> *tags*;

    public MyJob(String name, List<String> cols, List<String> tags) { = name;
        this.cols = cols;
        this.tags = tags;


and then I do something like this

livy.submit(new MyJob("cat", Arrays.asList("hello"), new ArrayList<>())).get();

I get the following Exception

java.util.concurrent.ExecutionException: java.lang.RuntimeException:

Serialization trace:

cols (


View raw message