Questions tagged [stargate]

Stargate is the name of the REST server bundled with HBase.

Stargate is the REST server bundled with HBase.

33 questions
39
votes
1 answer

HBase REST Filter ( SingleColumnValueFilter )

I cannot figure out how to use filters in the HBase REST interface (HBase 0.90.4-cdh3u3). The documentation just gives me a schema definition for a "string", but doesn't show how to use it. So, I'm able to do this: curl -v -H 'Content-Type:…
Mario
  • 1,801
  • 3
  • 20
  • 32
14
votes
4 answers

Is there a good library for accessing HBase from Python?

I spent some time looking around, and all I could find is Jython. It's an option, but is there something that could be used in a more pythonesque (simpler) way?
Wojtek
  • 143
  • 1
  • 1
  • 5
5
votes
1 answer

Querying HBase Stargate for a hexadecimal rowkey via Ruby

I have an HBase table that (in part) utilizes hexadecimal bytes to construct its rowkeys. I'm able to query from the Hbase Shell just fine as follows get 'my_table', "XYZ:\x7F\xFF\xFF\xFF\xFF\xFF\xFF\x82" However, I want to use the stargate API (or…
user2490003
  • 10,706
  • 17
  • 79
  • 155
2
votes
1 answer

which is the best way to work RAILS with Hbase?

Already install https://github.com/greglu/hbase-stargate , but it seems, that some methods is not working appropriate, for example: row = @client.create_row('terms', 'book', Time.now.to_i, {:name => 'data:fr', :value => 2}) In Hbase shell I got…
Daniel
  • 534
  • 4
  • 16
2
votes
4 answers

How to list all row keys in an hbase table?

How do I list all row keys in an hbase table? I need to do this using PHP with a REST interface.
hbase_user
  • 529
  • 4
  • 9
  • 16
2
votes
1 answer

Issues clearing data from a keyspace on Cassandra 2.1.3 + Stargate

Our QA Team has requested that we completely clear all data within the app's keyspace on our Cassandra 2.1.3 server prior to testing. (Cassandra 2.1.3 is running on an Ubuntu 14.04LTS Azure D12 instance [4 cores, 28GB Memory]). We have attempted…
2
votes
0 answers

HBase REST java example

I am in a need to use HBase REST service to query a table. But all of the resources uses curl utility to do the hit. Is there any example that I can use to do it using the url? HBAse details HBase REST URL: http://hbase-rest-server:8881/ Table:…
Arun Vasu
  • 297
  • 8
  • 22
2
votes
1 answer

How to lookup HBase REST API (Stargate) if the row-keys are reversed urls

I am using nutch2.2.1 + hbase0.90.4, and wanting to access the data via the HBase REST API Stargate. If I seed nutch with a url (eg. www.usatoday.com), the reversed url becomes the HBase row-key in the designated table ('webpage'). I can lookup the…
codermd
  • 41
  • 1
  • 5
2
votes
1 answer

How to insert data into Hbase tables using PHP Stargate client

I'm playing around with an install of HBase cluster, and am trying to access the data via the Stargate REST interface. Most of the read-only functions (i.e. listing tables, getting version, meta data, etc) are work nicely. However, I'm having…
sayajay
  • 149
  • 2
  • 10
2
votes
2 answers

HBASE Rest API (Stargate) Post multiple cells / rows

I am trying to post multiple columns / rows to my hbase cluster using the rest api. I can post 1 column at a time without trouble, but can't seem to get it to accept multiple columns / rows. This works just fine Data: { "Row":{ …
Eulalie367
  • 198
  • 4
  • 17
2
votes
2 answers

Insert data into Hbase using Stargate Rest

I'm using curl to access Hbase with REST. I'm having a problem in inserting data into Hbase. I followed the Stargate documentation but when I follow the same syntax it gives me 400/405 errors of Bad requests and Method not Allowed errors. I have…
rumshenoy
  • 250
  • 5
  • 25
1
vote
2 answers

How do I use the REST api on an HBase cluster via load balancing

I have a pilot HBase cluster with 1 master and 5 slave nodes. I want to access (basically write ad impression data via GET's) the cluster via its REST API. I want to be able to run aggregated reports using Hadoop/Hive?Pig (TBD) later, so I want a…
Nitin
  • 715
  • 1
  • 7
  • 20
1
vote
1 answer

Uncatchable exception NodeJS

I have an application which writes to a datastore, so I attempt to send an HTTP request out to the datastore (hbase + stargate). ETIMEDOUT exception, which kills the process. I have .on('error') on every socket connection present or at least…
Bryan
  • 717
  • 6
  • 20
1
vote
0 answers

Hbase Stargate REST Interface: How to encode a scanner with filter in XML?

I'm using Hbase over Stargate and want to use a scanner with certain filters. In java or thrift, this would be no problem, but I don't find any advice how to encode the filters in XML. The Schema given in the wiki is invalid, so I'd need one or two…
Torsten
  • 11
  • 2
1
vote
0 answers

hbase fuzzy/filter list matching for REST from shell

I am trying to formulate some RESTful calls to return specific data from a hbase table using fuzzy logic OR multiple filters (filterList). My rowkey is made up of 'BatchId + UserId + Timestamp' + 'ModelId', as an example i would like to be able to…
1
2 3