如何使用HBase?
我需要有关数据库的帮助。我正在尝试创建一个 Java 项目,它使用 25 个不同 XML 文件中的数据来显示图表。我的问题是可以使用 Hbase 以便将键值对从数据库传递到我的 Java 代码吗?我应该如何在我的代码中安装 Hbase?我尝试了各种方法,例如安装Cygwin和SSH,但SSH服务无法启动。 我想在 eclipse 中使用 Hbase。我什至尝试安装 Hbase eclipse 插件,但这也没有用。有人可以帮我吗?有没有更简单的方法使用Hbase?我只想在我的代码中实现 Hbase 映射功能。请帮帮我。
I need help regarding database. I am trying to create a Java project which uses the data from 25 different XML files to display a graph. My question is can the Hbase be used such that I can pass the key value pair from the database to my Java code? How should I install Hbase in my code? I have tried various methods, such as installing Cygwin and SSH, but the SSH service does not start.
I want to use Hbase with eclipse. I have even tried installing the Hbase eclipse plug in but that is of no use too. Can some one please help me out? Is there any easier way to use Hbase? I just want to implement the Hbase mapping functionality in my code. Please help me out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
听起来您没有正确配置 ssh 守护进程。
请记住,要实现此功能需要执行很多步骤:
http ://en.wikisource.org/wiki/User:Fkorning/Code/Hadoop-on-Cygwin
sounds like you haven't configured the ssh daemon correctly.
bear in mind that there's a lot of steps to get this working:
http://en.wikisource.org/wiki/User:Fkorning/Code/Hadoop-on-Cygwin
HBase 0.95实际上可以在没有Cygwin的Windows上运行。它附带了一个 start-hbase.cmd,您可以直接从 Windows 运行它,并且它将在独立模式下启动 HBase。
也就是说,我真的不明白你想用 HBase 实现什么目标。 “在我的代码中实现 Hbase 映射功能”是什么意思?
实际上,除非您的数据量在 TB 范围内,您的访问模式相对简单,并且读/写量非常高,否则它确实不适用......
HBase 0.95 actually can actually run on Windows without Cygwin. It ships with a start-hbase.cmd which you can run straight from windows, and which will launch HBase on stand-alone mode.
That said, I really do not understand what you are trying to achieve with HBase. What do you mean by "implement the Hbase mapping functionality in my code"?
Really unless your data volumes are on the TB range, your access patterns relatively simple, and your volumes of read/writes very high it really does not apply...