hello every one
i use docker to intialize 3 nodes to make 3 nodes clusters
docker run -d --name db -p 8091-8096:8091-8096 -p 11210-11211:11210-11211 couchbase
docker run -d --name db2 -p 9091-9096:8091-8096 -p 12210-12211:11210-11211 couchbase
docker run -d --name db3 -p 7091-7096:8091-8096 -p 13210-13211:11210-11211 couchbase
i stop local instance of Couchbase Server
after that i need to import bucket using command
cbimport csv -c http://localhost:8091 -u aya -p 123 -d “file://allergies.csv” -b “allergies” -g #UUID# --omit-empty --infer-types
but i give me
CSV import failed: 0 documents were imported, 0 documents failed to be imported
CSV import failed: i/o timeout
even it work correctly for local single instance
when i try to create node for local node which is created it give me node need provision
can any one helpme why i cant i import data to cluster
If I have only one line in the CSV then I get nothing imported - similar results to those you’ve posted - as the first line is taken as the field names leaving no data rows to import.
2021-07-28T06:30:15.909+02:00 WARN: Fail to create Couchbase sink, could not get Couchbase Server version – couchbase.CreateSink() at sink.go:46
CSV import failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
the intialized nodes with docker are
couchbase-cli server-list -c 127.0.0.1:8091 --username aya --password 123 ns_1@172.17.0.3 172.17.0.3:8091 healthy inactiveAdded ns_1@172.17.0.4 172.17.0.4:8091 healthy inactiveAdded ns_1@172.17.0.5 172.17.0.5:8091 healthy active