java 简单例子:HBase + Spring

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14054378/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 14:54:46  来源:igfitidea点击:

Simple example: HBase + Spring

javaspringhadoophbase

提问by user1932034

I find a simple example: HBase+Spring. I read some docs and articles about hbase configuration. I configured HBase server and now i want to create the client. I know what spring provides HbaseTemplate for working with Hbase. Maybe someone has an full example ? I need simple actions like put, get, delete.I would be glad to any working example. Thanks and sorry for bad english.

我找到了一个简单的例子:HBase+Spring。我阅读了一些关于 hbase 配置的文档和文章。我配置了 HBase 服务器,现在我想创建客户端。我知道 spring 为 Hbase 提供了什么 HbaseTemplate。也许有人有一个完整的例子?我需要简单的操作,如放置、获取、删除。我很乐意提供任何工作示例。感谢并抱歉英语不好。

回答by Diego

You can check the spring-hadoop samples in github, specially the files in spring-hadoop-samples/original-samples/hbase-crud. The repository is at https://github.com/SpringSource/spring-hadoop-samples

你可以查看github中的spring-hadoop示例,特别是spring-hadoop-samples/original-samples/hbase-crud中的文件。存储库位于https://github.com/SpringSource/spring-hadoop-samples

Hope this helps you. Good luck!

希望这对你有帮助。祝你好运!