Skip to main content
noinhotnn
Gold ⭐️
Nov 10, 2023 3:59 PM UTC
Solved

Hbase REST multiget return no rows found

Hi community,

I used multiget to get data but it always returns no data. I tried testing with a rowkey and it worked fine

GET 'http://localhost:8000/Report.Stops/multiget?row=G38040-502793%2c1699493158'
No rows found.

Get by rowkey

GET 'http://localhost:8000/Report.Stops/G38040-502793%2c1699493158'
<CellSet>
<Row key="RzM4MDQwLTUwMjc5MywxNjk5NDkzMTU4">
...
</Row>
</CellSet>

Shell

get 'Report.Stops','G38040-502793,1699493158'

COLUMN CELL
d:1 timestamp=1970-01-21T00:04:56.975, value=\x98\x94\x00\x00

i'm using hbase: 2.4.14

 

noinhotnn
noinhotnnAnswer
Gold ⭐️
Nov 13, 2023 4:21 AM UTC

Multiget with the ',' character may has a problem. I tried inserting a few lines without ',' character and it worked fine.

2 replies

DianaTorres
Community Manager
Community Manager
Nov 10, 2023 4:32 PM UTC

@noinhotnn Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our HBase experts @aquilodran @pajoshi  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.

Translate
Regards, Diana Torres, Senior Community Moderator
noinhotnn
noinhotnnAuthorAnswer
Gold ⭐️
Nov 13, 2023 4:21 AM UTC

Multiget with the ',' character may has a problem. I tried inserting a few lines without ',' character and it worked fine.

Translate