-
Notifications
You must be signed in to change notification settings - Fork 26
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
Could this tool import csv to backend of cql and es ? [cassandra 3.11][janusgraph 0.3.0] #1
Comments
yes, it can import csv to backend with cassandra , but i just set storage.backend=cassandrathrift instead of storage.backend= cql, my config just like : storage.backend=cassandrathrift |
I set the config with:
The log for importing indicates data have been imported: IMPORT DONE in 1s 193ms. with exception:
When I query the graph, it seems nothing has been imported yet. |
@juncaofish you can change the cassandra dependency version of your janusgraph to 3.X, or you can change your local cassandra to 2.X (i am using 2.1.8). |
we use cassandra 3.11 and janusgraph 0.3.0. Is it consistent? |
@juncaofish |
@dengziming |
@juncaofish but i am sorry that you should first run the java commend, and run the sstableloader commend manually . for example, you run the BulkLoad in your IDE , the args are like this:
and after finish you will see some log:
and you can run all these commend to load data into janusgraph.
then I query janusgrpah:
so it's OK , good luck for you! |
hello, the latest code is now using TxImportStoreImpl to load data, can this tool add support for cql based on this? |
@cljxhouse if you use TxImportStoreImpl to load data to cassandra, you can use cql to persist data. if you get these error of |
使用 sstableloader 的时候,提示错误 [root@localhost janusgraph-import]# sstableloader -d 127.0.0.1 --verbose data/all20190709_01.db/Nodes/0/janusgraph/edgestore cassandra 版本是3.11.4 不知道是版本或配置问题,还是 sstableloader不再支持cassandra。 |
It seems it hasn't been implemented in the following code..
my config file looks like below:
The text was updated successfully, but these errors were encountered: