Java API operation of Hadoop 2-hbase
•
Java
HBase provides rich Java APIs and thread pool operations. Let me use thread pool to show how to use Java API to operate HBase.
The project structure is as follows:
The version of HBase I use is
hbase-0.98. 9-hadoop2-bin. tar. gz
After downloading, you can get the jar file under the Lib directory, that is, the HBase lib resource shown above.
Interface class:
/hbase-util/src/com/b510/hbase/util/dao/HbaseDao. java
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码