-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On write InfluxDB gives status 204 without any content written #15
Comments
Hello, @abossenbroek. Thank you for your attention. As I know Influx use 204 code as a result of a successful insert link. So, I'm I right, you have 204 without inserting data? |
Thanks for pointing out the doc, wasn't aware @fsanaulla. You are right, the example I provided does not lead to any data inserted into the database. Remarkably, it works if I create a |
Few notes:
|
Few notes:
See CSV section in my question
I am aware of that, I took the data and wrote a bulk load myself and it works. Also tried
and this works properly. Somehow just the csv doesn't work.
Not sure how to do this. Any pointers would be useful, thanks. |
@abossenbroek I will look on it today. About structured-streaming: |
Interestingly, adding
|
@abossenbroek |
Reopen if the error still occurs. |
I am trying to load data from a CSV to InfluxDB using chronicler-spark. The program completes without errors but InfluxDB reports a 204 error. Example program that shows this behaviour on my laptop can be found below. May be related to a bug in influxdb.
sbt
Writing to InfluxDB
/tmp/toy_data.csv
docker-compose.yml
Logs
When running with
sbt run
I see the following on the spark logs,and the following in the docker logs
Diagnosis
To understand the issue better I set a breakpoint at
com.github.fsanaulla.chronicler.urlhttp.io.models.UrlWriter.scala:45
and stepped through the method. I can confirm the entity is properly formatted
and works well when inserted with insert using the chronograf gui.
The text was updated successfully, but these errors were encountered: