Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: 0.3
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Environment:
Mac
Description
While creating a LivyClient (not on main thread of program) the following code throws exception:
{{ try
catch (IOException e)
{ // TODO Auto-generated catch block e.printStackTrace(); } catch (URISyntaxException e) { // TODO Auto-generated catch block e.printStackTrace(); }}}
Here is the exception that I get:
{{java.lang.RuntimeException: java.lang.RuntimeException: com.cloudera.livy.shaded.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "appId" (class com.cloudera.livy.client.common.HttpMessages$SessionInfo), not marked as ignorable (6 known properties: "state", "owner", "kind", "log", "proxyUser", "id"]) at [Source: com.cloudera.livy.shaded.apache.http.client.entity.LazyDecompressingInputStream@237e9dc; line: 1, column: 21] (through reference chain: com.cloudera.livy.client.common.SessionInfo["appId"]) at com.cloudera.livy.client.http.HttpClient.propagate(HttpClient.java:185) at com.cloudera.livy.client.http.HttpClient.<init>(HttpClient.java:85) at com.cloudera.livy.client.http.HttpClientFactory.createClient(HttpClientFactory.java:38) at com.cloudera.livy.LivyClientBuilder.build(LivyClientBuilder.java:124) at
}}