Using Spark Hbase connector i was trying to write & read from Hbase. I am able to write dataframe to Hbase but during read operation fails "java.lang.IllegalArgumentException: offset (0) + length (4) exceed the capacity of the array: 2".
The datatype with int/double/float gives this error. String works though.
Should i explicitly do the datatype conversion ? Please let me know any suggestion. Below is the write and read code i am using.