I am following this link http://kylin.apache.org/docs/howto/howto_use_restapi.html for doing restful api's in kylin i get the jsessionid which you can see below:
hadoop@localhost:/usr/local/hadoop/kylin/bin$ curl -i -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:7070/kylin/api/user/authentication HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Pragma: no-cache Cache-Control: no-cache, no-store, max-age=0 Expires: Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: JSESSIONID=349C150DC2274995F60DA2CCE5F9B278; Path=/kylin/; HttpOnly Content-Type: application/json;charset=UTF-8 Content-Language: en-IN Content-Length: 2 Date: Thu, 28 Jan 2016 05:04:52 GMT {}hadoop@localhost:/usr/local/hadoop/kylin/bin$ Getting an error while running this CURL command: curl -c /path/to/cookiefile.txt -X POST -H "Authorization: Basic XXXXXXXXX" -H 'Content-Type: application/json' http://localhost:7070/kylin/api/user/authentication Here is my error: java.lang.IllegalStateException: Cannot create a session after the response has been committed. -- Thanks & Regards Raviteja.k 9642938333
