work cosbench adaptor with grpc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

work cosbench adaptor with grpc

Bohemian
Hello, I don't know whether I can still get help from here.
My trouble is using adaptor with a grpc client.
In the storage class which extends the NoneStorage, I extends the init(final Config config, final Logger logger)from the super class and init the grpclient like KVgrpcclient  kv grpcclient = new KVgrpcclient(ip,port);
and submit the workload with proper storage service name

and I get: I think the response body is the key, what happend with it? any possible solutions? many thanks!!!
2019-12-12 14:28:55,219 [ERROR] [AbstractCommandTasklet] - cannot parse response body
org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')

 at [Source: java.io.StringReader@7d2aba6e; line: 1, column: 2]
        at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:929)
        at org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java:632)
        at org.codehaus.jackson.impl.JsonParserBase._reportUnexpectedChar(JsonParserBase.java:565)
        at org.codehaus.jackson.impl.ReaderBasedParser._handleUnexpectedValue(ReaderBasedParser.java:429)
        at org.codehaus.jackson.impl.ReaderBasedParser.nextToken(ReaderBasedParser.java:192)
        at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:1319)
        at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:1275)
        at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:885)
        at com.intel.cosbench.controller.tasklet.AbstractCommandTasklet.issueCommand(AbstractCommandTasklet.java:73)
        at com.intel.cosbench.controller.tasklet.Submitter.execute(Submitter.java:44)
        at com.intel.cosbench.controller.tasklet.AbstractTasklet.call(AbstractTasklet.java:47)
        at com.intel.cosbench.controller.tasklet.AbstractTasklet.call(AbstractTasklet.java:1)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2019-12-12 14:28:55,219 [ERROR] [StageRunner] - detected tasks [t1] have encountered errors
2019-12-12 14:28:55,220 [INFO] [StageRunner] - begin to terminate stage s1-init
2019-12-12 14:28:55,227 [ERROR] [AbstractCommandTasklet] - driver report error: HTTP 400 - unrecognized request: org.apache.catalina.connector.RequestFacade@7917ce4c
2019-12-12 14:28:55,227 [ERROR] [Aborter] - fail to abort driver
com.intel.cosbench.controller.tasklet.TaskletException
        at com.intel.cosbench.controller.tasklet.AbstractCommandTasklet.issueCommand(AbstractCommandTasklet.java:81)
        at com.intel.cosbench.controller.tasklet.Aborter.executeAbort(Aborter.java:53)
        at com.intel.cosbench.controller.tasklet.Aborter.execute(Aborter.java:42)
        at com.intel.cosbench.controller.tasklet.AbstractTasklet.call(AbstractTasklet.java:47)
        at com.intel.cosbench.controller.tasklet.AbstractTasklet.call(AbstractTasklet.java:1)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2019-12-12 14:28:55,227 [INFO] [StageRunner] - stage s1-init has been terminated
2019-12-12 14:28:55,228 [ERROR] [WorkloadProcessor] - detected stage s1-init encountered error
2019-12-12 14:28:55,228 [INFO] [WorkloadProcessor] - begin to terminate workload w25
2019-12-12 14:28:55,258 [INFO] [SimpleWorkloadArchiver] - workload w25 has been successfully archived
2019-12-12 14:28:55,259 [INFO] [WorkloadProcessor] - successfully terminated workload w25
Reply | Threaded
Open this post in threaded view
|

Re: work cosbench adaptor with grpc

Bohemian
plus if i delete the grpc client, then everything goes fine, but I have to use the grpc client to connect the database that i want to test....