This links talk about a excellent way of writing to HBase via Java API.
Writing to HBase via Spark: Task not serializable
How can I do the same for reading the data from HBase.
Say for example, I have a property name -> file which gives me Start and stop rows (each line provides a seperate start and stop row which can be divided among different servers) other property tells me server name and table name. Can any please provide me with sample, how it can be done, I tried but I keep on getting not serializable error.
(this is what i tried ,Spark serialization error)
any help will be deeply appreciated.