Hi,

I created a table using phoenix. It has two field: integer and string.
Integer field is primary key column. Then I inserted the two rows in his
table. I am able to see the data by querying through sqllib.py shell(Using
select *). I am also able to see the table and its data on hbase
shell(using scan table).

Now when I am trying to do Hbase get using java for a specif row, I am not
able to fetch the data.

In the code below 2 is the value in the primary key column. Can anyone
suggest me, how should I proceed ?


Get g = new Get(Bytes.toBytes(2));
Re

Reply via email to