JiriOndrusek commented on issue #1050: InfluxDB native support #1036 URL: https://github.com/apache/camel-quarkus/pull/1050#issuecomment-611008356 Hi @ppalaga, @lburgazzoli , I'm facing probably the "last" issue with influxDB. Very shortly:Writing into DB is working correctly, but reading from DB seems to be not working. Here are some - facts:data exists in the DB .I'm able to connect to influxDB started as a part of native tests and queries return correct results. - influxDB client, gets successful result codes (like 200 or 204), but no data are present in QueryResult - here are snippets from runtime: - native: > Response{protocol=http/1.1,` code=200, message=OK, url=http://localhost:8086/query?q=SHOW+DATABASES} > QueryResult [results=[Result [series=null, error=null]], error=null] - the same execution in JVM: > Response{protocol=http/1.1, code=200, message=OK, url=http://localhost:8086/query?q=SHOW+DATABASES} > QueryResult [results=[Result [series=[Series [name=databases, tags=null, columns=[name], values=[[_internal], [monitoring], [mydb], [myTestTimeSeries]]]], error=null]], error=null] - Here is the code of QueryResult: https://github.com/influxdata/influxdb-java/blob/master/src/main/java/org/influxdb/dto/QueryResult.java#L27 - there is no error during native test execution, only following warnings: > Warning: RecomputeFieldValue.ArrayBaseOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.arrayBaseOffset(Class) was detected in the static initializer of org.msgpack.core.buffer.MessageBuffer. Detailed failure reason(s): Could not determine the field where the value produced by the call to sun.misc.Unsafe.arrayBaseOffset(Class) for the array base offset computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store. > Warning: RecomputeFieldValue.ArrayIndexScale automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.arrayIndexScale(Class) was detected in the static initializer of org.msgpack.core.buffer.MessageBuffer. Detailed failure reason(s): Could not determine the field where the value produced by the call to sun.misc.Unsafe.arrayIndexScale(Class) for the array index scale computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store. I suspect following: - Because writing and pinging DB works, I hope that reading from DB works too -> which points to possible problems during "creation" of queryResult or its transfer. I can imagine, that problems could be linked to missing reflection or are caused by retrofit on quarkus. It seems possible that DB returns data correctly, but when received (by retrofit proxy), some local properties are not present. I've collected trace logs and I'm trying to find the cause in them, but in case that you've already seen a similar problem, please ping me. Thank you in advance, Jiri
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services