Giter Club home page Giter Club logo

Comments (23)

 avatar commented on June 18, 2024

Hi martinalig,

Thanks for the info. I haven't used ycsb with hbase myself, and unfortunately documentation is lacking as to how to use ycsb with hbase. Let me try it out, and I'll document how to run ycsb against hbase. In the meantime, please let me know if you manage to figure out where the error is coming from.

Thanks!
--Michi

from ycsb.

airbots avatar airbots commented on June 18, 2024

Hi, in current YCSB. How can I find where is the hbase-binding pom.xml file???? When I git YCSB from git, it does not contain any hbase-binding pom.xml file.

from ycsb.

martinalig avatar martinalig commented on June 18, 2024

There is a subdirectory in the project for each binding. In the hbase subdirectory is the pom.xml for the hbase-binding.

from ycsb.

airbots avatar airbots commented on June 18, 2024

Got it. Thanks. Anyone want to see detail. Here is my experience:
http://chenheownblog.blogspot.com/2012/05/compile-ycsb-for-hbase-0920-on-centos.html

from ycsb.

 avatar commented on June 18, 2024

Hi airbots,

Great write-up! Care to submit a pull request for this?

Thanks!
--Michi

from ycsb.

airbots avatar airbots commented on June 18, 2024

Sure. But how to? I am new to Github.

from ycsb.

 avatar commented on June 18, 2024

This page explains the process pretty well. Feel free to ask me questions if you are not sure how to proceed.

http://help.github.com/send-pull-requests/

--Michi

from ycsb.

airbots avatar airbots commented on June 18, 2024

I will update more detailed information later. I am using YCSB to test SQLFire which has JDBC driver. Could you tell me how you use JDBC to test MySQL data base??? Thanks alot!

from ycsb.

 avatar commented on June 18, 2024

Hi airbots,

I haven't used ycsb with jdbc myself. I'll try it when I get a chance, and I'll put a documentation.

Thanks!
--Michi

from ycsb.

airbots avatar airbots commented on June 18, 2024

Hi Michi

I made the YCSB work for SQLFire. Here is the link:
http://chenheownblog.blogspot.com/2012/05/connect-sqlfire-using-ycsb-jdbc-api.html

from ycsb.

 avatar commented on June 18, 2024

Hi airbots,

Cool! This page says that "if authentication is disabled, then you can specify any temporary username and password value into these fields".

http://pubs.vmware.com/vfabric5/index.jsp?topic=/com.vmware.vfabric.sqlfire.1.0/getting_started/3rd_party_connections.html

So perhaps you can connect to SQLFire without modifying JDBCClient.java?

from ycsb.

martinalig avatar martinalig commented on June 18, 2024

Btw. this also works for Hadoop 1.0.3 and HBase 0.94

from ycsb.

ankitkinra avatar ankitkinra commented on June 18, 2024

The cloning of git repository is asking for a username and password, any idea what it would be ?

from ycsb.

 avatar commented on June 18, 2024

You should be able to clone from the read only repository without username/password:

git://github.com/brianfrankcooper/YCSB.git

from ycsb.

ankitkinra avatar ankitkinra commented on June 18, 2024

Oh I forked the repository and then it worked with my github password. But thanks.
I am trying to use YCSB with HBase 0.94, lets see where I get with this.

from ycsb.

ridhav avatar ridhav commented on June 18, 2024

I had the same problems with the binaries available here. Not a host:port pair exception. So I did rebuild the source using my hbase version and the problem went away.

from ycsb.

janeen2000 avatar janeen2000 commented on June 18, 2024

hadoop 1.0.4 and the hbase 0.94 . how to solve the version problem? could you help me with the details?

from ycsb.

airbots avatar airbots commented on June 18, 2024

would you mind post your error or log messages ?

from ycsb.

janeen2000 avatar janeen2000 commented on June 18, 2024

Hi,
I use the bin/ycsb load hbase ¨CP workloads/workloada ¨Cp columnfamily=family ¨Cp recordcount=20 ¨Cs > load.dat
And the hadoop version is 1.0.4 and the hbase version is 0.94 the ycsb version is 0.1.4
thanks
[cid:[email protected]]


From: airbots [mailto:[email protected]]
Sent: 2013Äê1ÔÂ28ÈÕ 10:43
To: brianfrankcooper/YCSB
Cc: LI Jiangjiang
Subject: Re: [YCSB] HBase 0.92.1 (#75)

would you mind post your error or log messages ?

¡ª
Reply to this email directly or view it on GitHubhttps://github.com//issues/75#issuecomment-12766778.

from ycsb.

janeen2000 avatar janeen2000 commented on June 18, 2024

Hi,
Sorry the image is bad.
The following is the error:
13/01/28 11:17:58 INFO client.ZooKeeperSaslClient: Client will not SASL-authenti cate because the default JAAS configuration section 'Client' could not be found. If you are not using SASL, you may ignore this. On the other hand, if you expec ted SASL to work, please fix your JAAS configuration.
13/01/28 11:17:58 INFO zookeeper.ClientCnxn: Socket connection established to lo tus/135.251.85.55:2181, initiating session
13/01/28 11:17:58 INFO zookeeper.ClientCnxn: Session establishment complete on s erver lotus/135.251.85.55:2181, sessionid = 0x13c6f7937df0016, negotiated timeou t = 40000
java.lang.IllegalArgumentException: Not a host:port pair: �
5162@lotuslotus,60020,1359079910763
at org.apache.hadoop.hbase.HServerAddress.(HServerAddress.java:60)
at org.apache.hadoop.hbase.zookeeper.RootRegionTracker.dataToHServerAddr ess(RootRegionTracker.java:82)
at org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLoc ation(RootRegionTracker.java:73)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplemen tation.locateRegion(HConnectionManager.java:786)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplemen tation.locateRegion(HConnectionManager.java:766)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplemen tation.locateRegionInMeta(HConnectionManager.java:895)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplemen tation.locateRegion(HConnectionManager.java:797)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplemen tation.locateRegion(HConnectionManager.java:766)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplemen tation.locateRegionInMeta(HConnectionManager.java:895)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplemen tation.locateRegion(HConnectionManager.java:801)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplemen tation.locateRegion(HConnectionManager.java:766)
at org.apache.hadoop.hbase.client.HTable.(HTable.java:189)
at org.apache.hadoop.hbase.client.HTable.(HTable.java:163)
at com.yahoo.ycsb.db.HBaseClient.getHTable(HBaseClient.java:111)
at com.yahoo.ycsb.db.HBaseClient.update(HBaseClient.java:295)
at com.yahoo.ycsb.db.HBaseClient.insert(HBaseClient.java:350)
at com.yahoo.ycsb.DBWrapper.insert(Unknown Source)
at com.yahoo.ycsb.workloads.CoreWorkload.doInsert(Unknown Source)
at com.yahoo.ycsb.ClientThread.run(Unknown Source)


From: airbots [mailto:[email protected]]
Sent: 2013年1月28日 10:43
To: brianfrankcooper/YCSB
Cc: LI Jiangjiang
Subject: Re: [YCSB] HBase 0.92.1 (#75)

would you mind post your error or log messages ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/75#issuecomment-12766778.

from ycsb.

westonplatter avatar westonplatter commented on June 18, 2024

is it still worth it work towards supporting HBase 0.92?

There's an open PR for HBase 0.94 and 0.96. #146

from ycsb.

nkeywal avatar nkeywal commented on June 18, 2024

With #146, it's possible to support 0.98. I haven't tried, but i suppose that -Dhbase.version=0.92.1 would work with #146 as well. Any plan to integrate it?

from ycsb.

busbey avatar busbey commented on June 18, 2024

closing as stale, since 0.92 is a defunct HBase version. please reopen if you still need HBase 0.92 support.

from ycsb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.