-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[arangodb, arangodb3] ArangoDB client bindings fail to work with ArangoDB authentication #1155
Comments
Can you confirm that the 'basic' datastore works by following our guide for running on Windows? |
@busbey No, the 'basic' datastore also doesn't work. I compiled the ArangoDB3 binding with success before loading the workload with I analysed the 'ycsb.bat' and it crashes on the line 172, but just call MAVEN on line 173. |
we should try to confirm that the 'basic' datastore works before trying to get another one to go. What's the error when the basic datastore fails? |
@busbey when trying to execute |
does doing a full maven build from the top work? that error with the basic looks like you can't connect to maven central. |
By "full maven build" you mean run this code? Should I delete the repository and reinstall it before doing that? |
this step from the windows set up guide:
|
the build from the top level failing is a red flag that something is wrong in the build environment. what's the error in the first case? |
looks like you should first create a database 'ycsb' with table 'usertable' in your ArangoDB instance. |
It's hard to say. The ArangoDB3 binding hasn't made it to our supported list yet, so it's not surprising that these kinds of edge cases could come up. The error you got does look like a case of "I can't verify that you're authorized to do that", but I don't see anything in the current docs to say how to specify a user/password. Does the older ArangoDB binding fail in the same way? It looks like it was tested in the 0.12.0 release. |
Is it possible to benchmark ArangoDB3 with 0.12.0? |
I don't think so, it was added in the 0.13.0 release. Does the ArangoDB binding work with different server versions? If so, we should document that. |
@busbey , Once I get the error 401 Unauthorized, I searched for it and I found this:
This means that maybe it neads the user login (root) on parameters? |
SOLVED I had to turn off authentication parameter on the arangod.conf file located on C:\ArangoDB\etc\arangodb3\arangod.conf |
thanks for circling back! it sounds like a known issue for the current ArangoDB bindings should be:
How's that sound? |
Also, I'd like to have an open issue that tracks this gap so I can reference it in release notes. Would you prefer I reopen this one, or make a new one? (if I reopen this one you'll get github notifications when folks comment here or a PR fixes it, unless you unsubscribe from the issue.) |
Not add, but change, it's value is "true" by default. Also, that information should be on ArangoDB3 README before the command
You can reopen this ticket, no problem. |
Edited by maintainers
The ArangoDB and ArangoDB3 client bindings are not set up to provide authentication details to the ArangoDB instance, and as such you must ensure authentication is off for the system under test.
You can do this by altering your arangod.conf file: modify authentication parameter to
authentication=false
.Original issue text: [WARN] YCSB libraries not found.
Hello.
I get this message when trying to load the ycsb. It says "mvn is not recognized" but as you can see on the print screen below I have maven installed and the environment variables created aswell. Also have "maven\bin" on PATH.
The text was updated successfully, but these errors were encountered: