I am inserting data into hbase
from my java program. As we need to convert everything into byte arrays to insert into hbase I am doing so. But when there is any newline character in my input string, it is storing hexadecimal values in hbase (Eg: I tried to insert the string "prasad\r\nchowdary"
but in hbase
it is like prasad\x0D\x0Achowdary
).
My problem is when the data is like this in hbase, when I try to query this table from hive, my jdbc resultset is been repeating two time for single row.
So how to avoid it converting \r\n
to hexadecimal when inserting into hbase.