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

Building YCSB code #96

Closed
mghosh4 opened this issue Oct 5, 2012 · 4 comments
Closed

Building YCSB code #96

mghosh4 opened this issue Oct 5, 2012 · 4 comments

Comments

@mghosh4
Copy link

mghosh4 commented Oct 5, 2012

Hi,

I was trying to build the YCSB code in Ubuntu 12 64 bit and came across a lot of issues. There were a few packages missing. I have installed Maven 2 and all its dependencies. It is now complaining of some java jar files missing in classpath like slf4j etc. Can you please give me some information as to what should I do.

Also, I want the MongoDB version built only. Is there some build time flags that I can use?

Thanks and Regards,
Mainak.

@ghost
Copy link

ghost commented Oct 5, 2012

Hi @mghosh4,

What command did you run to build, and what error message did you get? This works for me on Ubuntu 12.04:

apt-get install git maven
git clone git://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package

Right now you cannot selectively build certain drivers. You could comment out the ones you don't need in pom.xml.

Thanks!
--Michi

@mghosh4
Copy link
Author

mghosh4 commented Oct 5, 2012

Yup those are the commands that I used. I am getting some issues with some java jar files which is missing from the classpath like slf4j. I believe there must be some package that my Ubuntu 12 is missing by default which adds these jar to the classpath. Or the other explanation could be that this errors are benign. Do you get them as well?

The reason that I am building MongoDB is because I think you made some changes to add defaults for some mongo specific property like mongo.url etc. Now when I use the ycsb executable directly it gives me a null pointer exception. There has been a thread on this where you found that the defaults for these properties were missing and you added them but was the ycsb executable built and updated after that because I downloaded it and I am getting the same exception. Can you please look into this, as well?

Thanks and Regards,
Mainak

@westonplatter
Copy link
Contributor

@mghosh4 did you set the required configuration properties mentioned in the MongoDB README, https://github.com/brianfrankcooper/YCSB/blob/master/mongodb/README.md? If not, I think it would be hard for YCSB to operate as intended.

@busbey
Copy link
Collaborator

busbey commented May 27, 2015

closing as stale. if you are still having this problem please reopen.

@busbey busbey closed this as completed May 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants