-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
CrateDB version
5.10.11
CrateDB setup information
I have setup crate DB on dockers with this specification:
sh-5.2# crash --verbose
+-----------------------+------------------+---------+-----------+---------+
| server_url | node_name | version | connected | message |
+-----------------------+------------------+---------+-----------+---------+
| http://localhost:4200 | Bric Costa Rossa | 5.10.11 | TRUE | OK |
+-----------------------+------------------+---------+-----------+---------+
CONNECT OK
CLUSTER CHECK OK
TYPES OF NODE CHECK OK
cr> SHOW TABLES;
+----------------+
| table_name |
+----------------+
| candata |
| sys_timeoffset |
+----------------+
Problem description
I am trying to migrate my data from influxdb2 to crateDB using this command:
ctk load table "influxdb2://bedm:[email protected]:8087/demmel/candata?start=-1d" --cluster-url="crate://192.168.200.56:4200/doc/candata"
I am getting this error:
File "C:\Users\zkhan\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='192.168.200.63', port=8087): Read timed out. (read timeout=9.98399999999674)
The data is huge but I want to import all in one go to the CrateDB.
Please suggest me what is the best approach to migrate influxdb 2 data.
Also if we can use exported .lp files of influxdb 2 to crate db.
Steps to Reproduce
- CREATE TABLE candata(machine TEXT,"@connectorstate" TEXT,time TIMESTAMP);
- Run ctk command
Actual Result
File "C:\Users\zkhan\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='192.168.200.63', port=8087): Read timed out. (read timeout=9.98399999999674)Expected Result
Write data to Crate DB.
Metadata
Metadata
Assignees
Labels
No labels