Re: when i use curl with Restful Api , HTTP Status 500 - Cannot create a session after the response has been committed

2016-02-28 Thread 潘志伟
RequestWrapper.getSession(HttpServletRequestWrapper.java:229) >> >> org.apache.kylin.rest.filter.KylinApiFilter.logRequest(KylinApiFilter.java:80) >> >> org.apache.kylin.rest.filter.KylinApiFilter.doFilterInternal(KylinApiFilter.java:69) >> >> org.spri

Re: when i use curl with Restful Api , HTTP Status 500 - Cannot create a session after the response has been committed

2016-02-28 Thread yu feng
t; ——————————— > > > > > On Feb 26, 2016, at 20:19, 热爱大发挥 <385639...@qq.com> wrote: > > > > try ti with -H 'Accept: */*' > > > > > > > > > > -- Original -- > > From: &qu

Re: when i use curl with Restful Api , HTTP Status 500 - Cannot create a session after the response has been committed

2016-02-26 Thread 潘志伟
.com>; > Date: 2016??2??26??(??) 8:02 > To: "dev"; > Subject: when i use curl with Restful Api , HTTP Status 500 - Cannot create > a session after the response has been committed > > > > Hi,All! > > when I run : > > [hdfs@n01 bin]

when i use curl with Restful Api , HTTP Status 500 - Cannot create a session after the response has been committed

2016-02-26 Thread 潘志伟
Hi,All! when I run : [hdfs@n01 bin]$ curl -c /tmp/cookiefile.txt -X POST -H "Authorization: Basic QURNSU46S1lMSU4K" -H 'Content-Type: application/json' http://127.0.0.1:7070/kylin/api/user/authentication error: Apache Tomcat/7.0.59 - Error report