Export to GitHub

kairosdb - issue #50

Import problem


Posted on Apr 22, 2014 by Happy Elephant

kairos version: 0.9.3

cause: kairosdb.sh import -f 'file' command, after loading the data(irrespective of the size) kairosdb shuts down, while the service on port 8080 is still running.

Any query on the service generates the following response: {"errors":["No such file or directory"]}

These are the logs: 04-22|15:44:27.994 [main] INFO [Main.java:260] - ------------------------------------------ 04-22|15:44:27.994 [main] INFO [Main.java:261] - KairosDB service started 04-22|15:44:27.994 [main] INFO [Main.java:262] - ------------------------------------------ <------------ after import command runs ------------>

04-22|15:45:34.511 [main] INFO [TelnetServerModule.java:42] - Configuring module TelnetServerModule 04-22|15:45:35.784 [main] INFO [CassandraHostRetryService.java:48] - Downed Host Retry service started with queue size -1 and retry delay 10s 04-22|15:45:35.852 [main] INFO [JmxMonitor.java:52] - Registering JMX me.prettyprint.cassandra.service_kairosdb-cluster:ServiceType=hector,MonitorType=hector 04-22|15:45:36.570 [main] INFO [Main.java:402] - Shutting down

while the service on 8080 is still running.

Current solution is to kill the process on 8080 port (as kairosdb.sh stop doesnt work) and restart kairos.

Comment #1

Posted on Apr 22, 2014 by Helpful Dog

This is partially a documentation error. The quick fix here is to not run the import with the service running. So either stop the service or run the import on a different box.

With that said I think this is worth looking into so that both can be ran at the same time.

Status: New

Labels:
Type-Defect Priority-Medium