question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HBase Browser binary row keys support?

See original GitHub issue

Maybe i miss something but i can’t filter table view by my binary row keys which consist of an integer concatenated with reverse timestamp (day and year only as shorts). For example, in hbase shell column key looks like \x00\x00\x01\x09x!{` so how do i put this value correctly in the search box? If it’s not supported then i think it must be added…

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
romainrcommented, Apr 7, 2016

In case it would help, it should be fine to provide a customed JsonResponse like BinJsonResponse https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/lib/django_util.py#L455 that has a different encoder=DjangoJSONEncoder

and then change it for the HBase app: https://github.com/cloudera/hue/blob/master/apps/hbase/src/hbase/views.py#L29

or change it to

JsonResponse(data={…}, encoder=BinDjangoJSONEncoder…)

subclassing with different default might be a bit simpler.

And adding the above test could live in https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/lib/django_util_test.py

and should run with something like: ./build/env/bin/hue test specific desktop.lib.django_util_test:TestDjangoUtil.bin_…_test

0reactions
github-actions[bot]commented, Mar 15, 2021

This issue is stale because it has been open 30 days with no activity and is not “roadmap” labeled or part of any milestone. Remove stale label or comment or this will be closed in 5 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apache HBase ™ Reference Guide
Type help and press Enter, to display some basic usage information for HBase Shell, as well as several example commands. Notice that table...
Read more >
HBase Browser - SmartView
On the left hand side are the row keys and hovering over a row reveals a list of controls on the right. Click...
Read more >
HBase Filtering | 6.3.x - Cloudera Documentation
InclusiveStopFilter - takes one argument, a row key on which to stop scanning. It returns all key-values present in rows up to and...
Read more >
Reading HBase Table Data | Pivotal Greenplum Docs
An HBase row consists of a row key and one or more column values. A row key is a unique identifier for the...
Read more >
How to delete an HBase cell with a binary rowkey through ...
If the rowkey is a string, like "Hello", it works. But when the rowkey is binary data (for example, an integer of 180)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found