SparkOnHBase | This is a simple reusable lib for working HBase
kandi X-RAY | SparkOnHBase Summary
kandi X-RAY | SparkOnHBase Summary
This is a simple reusable lib for working with HBase with Spark.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of SparkOnHBase
SparkOnHBase Key Features
SparkOnHBase Examples and Code Snippets
Community Discussions
Trending Discussions on SparkOnHBase
QUESTION
How to access HBase from Spark.scala? is there any clear defined scala api? I am looking at dataframe level instead of RDD's.
Many options available over web like Apache HBase Connector SparkOnHBase and more options there.
But it would be nice to know or use most used in the industry.
Thanks for help.
...ANSWER
Answered 2018-Jul-28 at 07:51Spark-Hbase connector by Hortonworks is widely used to access HBase from Spark. It provides an API in both low-level RDD and Dataframes.
The connector requires you to define a Schema for HBase table. Below is an example of Schema defined for a HBase table with name as table1, row key as key and a number of columns (col1-col8). Note that the rowkey also has to be defined in details as a column (col0), which has a specific cf (rowkey).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SparkOnHBase
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page