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

[hbase10] Turn off info servers during tests #621

Merged
merged 1 commit into from
Feb 13, 2016

Conversation

y0un5
Copy link
Contributor

@y0un5 y0un5 commented Feb 13, 2016

Currently YCSB can't be built on the machine running HBase cluster, because the local testing cluster tries to bind a master info server on the same port with the actual cluster's port. See the following output...

$ mvn clean package
...
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.yahoo.ycsb.db.HBaseClient10Test
...
2016/02/13 14:24:06 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer  - Failed binding http info server to port: 16010
2016/02/13 14:24:06 ERROR org.apache.hadoop.hbase.MiniHBaseCluster  - Error starting cluster
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMasterAddress already in use
...

This is a bit annoying, so I turn off a master info server during tests. A region info server does not cause a port conflict, but any info server is not necessary during tests, so I turn off region's info server, too.

busbey added a commit that referenced this pull request Feb 13, 2016
[hbase10] Turn off info servers during tests
@busbey busbey merged commit 254595d into brianfrankcooper:master Feb 13, 2016
@busbey
Copy link
Collaborator

busbey commented Feb 13, 2016

Thanks!

@cmatser cmatser mentioned this pull request Apr 2, 2016
jaricftw pushed a commit to jaricftw/YCSB that referenced this pull request Jul 19, 2016
…-server

[hbase10] Turn off info servers during tests
jaricftw pushed a commit to jaricftw/YCSB that referenced this pull request Jul 19, 2016
…-server

[hbase10] Turn off info servers during tests
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

Successfully merging this pull request may close these issues.

2 participants