Skip to content
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

Orientdb error #660

Closed
amirjuve opened this issue Mar 19, 2016 · 6 comments
Closed

Orientdb error #660

amirjuve opened this issue Mar 19, 2016 · 6 comments

Comments

@amirjuve
Copy link

Command line: -db com.yahoo.ycsb.db.OrientDBClient -s -P workloads/workloada -load
Loading workload...
Starting test.
2016-03-19 22:52:29:308 0 sec: 0 operations; est completion in 0 seconds
com.yahoo.ycsb.DBException: Required property "orientdb.url" missing for OrientDBClient
at com.yahoo.ycsb.db.OrientDBClient.initDB(OrientDBClient.java:105)
at com.yahoo.ycsb.db.OrientDBClient.init(OrientDBClient.java:169)
at com.yahoo.ycsb.DBWrapper.init(DBWrapper.java:77)
at com.yahoo.ycsb.ClientThread.run(Client.java:289)
com.yahoo.ycsb.DBException: Required property "orientdb.url" missing for OrientDBClient
at com.yahoo.ycsb.db.OrientDBClient.initDB(OrientDBClient.java:105)
at com.yahoo.ycsb.db.OrientDBClient.init(OrientDBClient.java:169)
at com.yahoo.ycsb.DBWrapper.init(DBWrapper.java:77)
at com.yahoo.ycsb.ClientThread.run(Client.java:289)
2016-03-19 22:52:29:312 0 sec: 0 operations; est completion in 106751991167300 days 15 hours
[OVERALL], RunTime(ms), 4.0
[OVERALL], Throughput(ops/sec), 0.0

@busbey
Copy link
Collaborator

busbey commented Mar 20, 2016

The relevant error text is thus but here:

com.yahoo.ycsb.DBException: Required property "orientdb.url" missing for OrientDBClient

Please follow the README associated with the OrientDB binding to properly let YCSB know how to talk to your deployment.

@amirjuve
Copy link
Author

@busbey i changed orientdb.url variable in OrientDBClient.java :

private static final String URL_PROPERTY = "remote:localhost/ycsb";

still got the same error.

@busbey
Copy link
Collaborator

busbey commented Mar 20, 2016

You should not be altering the source code. The different configuration parameters in the r
README should be specified as needed on the command line.

@amirjuve
Copy link
Author

i've added this to orientdb-server-config.xml :

still got the same error, Orientdb works normally but it doesn't work in ycsb, any help @busbey

@busbey
Copy link
Collaborator

busbey commented Mar 21, 2016

@kruthar might have a better idea of what's missing in a typical OrientDB set up.

when you say it works "normally" can you describe what you're doing to verify thing are working?

@amirjuve
Copy link
Author

i added orentdb.url="path/to/db" and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants