Re: Stargate returning SNAPPY-encoded responses

2015-09-08 Thread Andrew Purtell
Stargate is an HBase client. What it gets from the cluster is uncompressed cell data, like any other client. SNAPPY compression happens at a lower layer, the HFile layer, which is completely a server side thing. I think you are seeing base64 encoding and assuming compression. Stargate encodes keys

Stargate returning SNAPPY-encoded responses

2015-09-08 Thread David Weiser
;0', TTL => '31104000', DATA_BLOCK_ENCODING => 'NONE', IN_MEMORY => 'false' } ] }% ``` When I GET a row, I notice that the cell value is still compressed: ```bash $ curl -H "Accept: application/json" http://my-host/my-table/row-key/d: {"Row":[{"key":"somesuperfunkysnappyencodedstring==","Cell":[{"column":"ZDo=","timestamp":1440632833058,"$":"dHJ1ZQ=="}]}]}% ``` Naively, I'd expect that when I GET a cell, that the cell value would be decoded before it is sent over the wire. However this is not the case. I've tried to google-fu various HTTP headers to instruct Stargate to decode the values before it sends it back, but I've discovered nothing. Is there some other way to get Stargate to decompress the cell values for me? Or do I need to do that myself? -- Thanks, dw

Re: Disable Base64 encoding in Stargate request and Return as String

2015-08-06 Thread anil gupta
gt;> > > >> > The same is roughly true for JSON.​ > >> > > >> > > >> > If your client sends an accept header of "Accept: > application/protobuf" > >> > you'll get back a protobuf encoded object. Your client will need to be > &g

Re: Disable Base64 encoding in Stargate request and Return as String

2015-08-06 Thread Andrew Purtell
"Accept: application/protobuf" >> > you'll get back a protobuf encoded object. Your client will need to be >> > prepared to handle that representation. This is probably not what you >> want. >> > >> > Why are we >> > ​even ​ >> >

Re: Disable Base64 encoding in Stargate request and Return as String

2015-08-06 Thread Andrew Purtell
ore than > > simply > > ​one value, simply one string​ > > . The response > > ​must include > > key > > ​s​ > > , > > ​values > > , > > ​timestamps > > ​; > > maybe a whole row > > ​'s worth​ > > of > &

Re: Disable Base64 encoding in Stargate request and Return as String

2015-08-05 Thread anil gupta
rn ​ > a structured response. > ​The client has asked for more than > simply > ​one value, simply one string​ > . The response > ​must include > key > ​s​ > , > ​values > , > ​timestamps > ​; > maybe a whole row > ​'s worth​ > of > ​keys, value

Re: Disable Base64 encoding in Stargate request and Return as String

2015-07-17 Thread Andrew Purtell
2015 at 2:20 PM, anil gupta wrote: > Hi All, > > We have a String Rowkey. We have String values of cells. > Still, Stargate returns the data with Base64 encoding due to which a user > cant read the data. Is there a way to disable Base64 encoding and then Rest > request would just r

Disable Base64 encoding in Stargate request and Return as String

2015-07-17 Thread anil gupta
Hi All, We have a String Rowkey. We have String values of cells. Still, Stargate returns the data with Base64 encoding due to which a user cant read the data. Is there a way to disable Base64 encoding and then Rest request would just return Strings. -- Thanks & Regards, Anil Gupta

Re: QualifierFilter with Stargate

2014-10-09 Thread Nick Dimiduk
am going to do gets. So, i should be good with Stateful also. > Thanks Nick for the helpful link. Will give this a try soon. > > Thanks, > Anil Gupta > > On Wed, Oct 8, 2014 at 3:08 PM, Nick Dimiduk > wrote: > > > Hi Anil, > > > > Stargate has two scanner

Re: QualifierFilter with Stargate

2014-10-09 Thread anil gupta
Hi Nick, Basically, i am going to do gets. So, i should be good with Stateful also. Thanks Nick for the helpful link. Will give this a try soon. Thanks, Anil Gupta On Wed, Oct 8, 2014 at 3:08 PM, Nick Dimiduk wrote: > Hi Anil, > > Stargate has two scanner implementations: "

Re: QualifierFilter with Stargate

2014-10-08 Thread Nick Dimiduk
Hi Anil, Stargate has two scanner implementations: "stateful" and "stateless". Which one are you using? The stateful scanner has long supported QualifierFilter. See the ScannerModel class [0], it has a FilterModel component that you'll need to populate when you crea

QualifierFilter with Stargate

2014-10-08 Thread anil gupta
Hi, I need to use QualifierFilter with Stargate. I went through the documentation but it seems like all the filters are not supported. If QualifierFilter is supported then please let me know how to use it? -- Thanks & Regards, Anil Gupta

Re: Stargate perf and troubleshooting tips

2014-08-12 Thread SiMaYunRui
ease elabrate which configuration and where I can try to >increase the defaults? I am a new comer to hbase, didn't find them thru >google. :-) >> > ​Stargate functions as a client to the HBase cluster. Both the RPC >>client - >> > here, Stargate - and the RPC serv

Re: Stargate perf and troubleshooting tips

2014-08-12 Thread Virag Kothari
rpose >of stateless scanner without filters support? Seems to me just a >enhancement to get. >BTW, could you please elabrate which configuration and where I can try to >increase the defaults? I am a new comer to hbase, didn't find them thru >google. :-) >> > ​Stargate

RE: Stargate perf and troubleshooting tips

2014-08-11 Thread SiMaYunRui
nd where I can try to increase the defaults? I am a new comer to hbase, didn't find them thru google. :-) > > ​Stargate functions as a client to the HBase cluster. Both the RPC client - > > here, Stargate - and the RPC server - here, the RegionServer(s) - have > > config

Re: Stargate perf and troubleshooting tips

2014-08-11 Thread Andrew Purtell
uick, > the > > latter scanner creations are very fast (< 100ms), but if there is > >1minute > > interval between two data fetching, the latter is slow. > > ​ > > I am certain that it’s not caused by TCP/SSL handshake (fiddler proves > > that). So I believ

Re: Stargate perf and troubleshooting tips

2014-08-11 Thread SiMaYunRui
n > Rest service code or hbase server code.​ ​Stargate functions as a client to the HBase cluster. Both the RPC client - here, Stargate - and the RPC server - here, the RegionServer(s) - have configurable intervals for keeping idle connections around. Either the client or server will eventual

Re: Stargate perf and troubleshooting tips

2014-08-07 Thread Andrew Purtell
certain that it’s not caused by TCP/SSL handshake (fiddler proves > that). So I believe there must be a resource reuse somewhere no matter in > Rest service code or hbase server code.​ ​Stargate functions as a client to the HBase cluster. Both the RPC client - here, Stargate - and

Stargate perf and troubleshooting tips

2014-08-06 Thread SiMaYunRui
Hi all, I am encountering a performance when building an application to scan data thru Stargate (HBase Restful service). Stargate asks two steps to fetch data from hbase table, the first step is to put a scanner resource and then to get next thru another http request. My observation is that it

Re: HBase/Stargate dataflow in I/O perspective

2014-04-01 Thread yglin
Thank you, Andy. Let me trying to put it together in my view. So ... 1. If I keep using only Stargate as client, block-caching will never happen 2. Each time I send query to Stargate then to RegionServer, it loads store files again, due to no cache. 3. Stargate does build a connection(tcp?) with

Re: HBase/Stargate dataflow in I/O perspective

2014-04-01 Thread Andrew Purtell
Don't expect any kind of performance when running HBase on VMs, by definition. Although exactly how bad will depend on the VM host environment, allocations per container, and such. As for your questions: > When is HFile(StoreFile) being loaded as a region into region server's memo

HBase/Stargate dataflow in I/O perspective

2014-04-01 Thread yglin
Hi~ I would like to know how data flows when you query it from HBase or Stargate, especially in I/O perspective. Please point me some directions to study. That means questions like below: When is HFile(StoreFile) being loaded as a region into region server's memory? Does a region st

Re: Stargate Create table issue

2014-03-03 Thread Bharath Vissapragada
le, you can use a POST request with /foobar/schema endpoint with following json payload, {"ColumnSchema":[{"name":"f2","BLOCKSIZE":"65536","BLOOMFILTER":"NONE","MIN_VERSIONS":"0","KEEP_DELETED_CELLS":"false

Stargate Create table issue

2014-03-03 Thread jeevi tesh
Hi all, Need to create table through rest endpoint so using stargate. I'm able to create table getting status code of 201. But unfortunately I'm not able to create table with value In hbase shell if issue command "scan ".I get 0 rows. I guess it is issue with json. Can you

Re: Scalability of stargate

2014-02-05 Thread Koert Kuipers
stargate can be run distributed behind load balancer to scale out. however the scanners are implemented stateful i think, so i would suggest to stay away from those if you load balance. On Wed, Feb 5, 2014 at 10:33 AM, jeevi tesh wrote: > Hi, > Planning to use hbase stargate in p

Scalability of stargate

2014-02-05 Thread jeevi tesh
Hi, Planning to use hbase stargate in project. Just had a concern in areas of scalability of stargate. Can all the operation of hbase can be performed using stargate? Sent from my Windows Phone

Re: Stargate - feeding numerics as byte arrays

2014-01-06 Thread Bharath Vissapragada
[]) On Tue, Jan 7, 2014 at 11:38 AM, Prashanth Gedde wrote: > I know that Stargate expects the values to be inserted into a HBase table > to be base64 encoded. > > How do I base64 encode numerical values like integer and floats before > forming the JSON payload for HTTP PUT? I expect the

Stargate - feeding numerics as byte arrays

2014-01-06 Thread Prashanth Gedde
I know that Stargate expects the values to be inserted into a HBase table to be base64 encoded. How do I base64 encode numerical values like integer and floats before forming the JSON payload for HTTP PUT? I expect the numerics to be written as byte arrays. Thanks Prashanth

Re: Hbase 0.94.6 stargate can't use multi get

2013-08-28 Thread Dmitriy Troyan
Hey Ravi, Seems I find what problem was: when I communicate with stargate I not set Accept header to application/json. It was octet-stream and according to documentation it can only give one value. Thanks. On Wed, Aug 28, 2013 at 8:46 AM, Dmitriy Troyan wrote: > Please excuse my inattention

Re: Hbase 0.94.6 stargate can't use multi get

2013-08-27 Thread Dmitriy Troyan
Please excuse my inattention. I made mistake in my query, it need to be like this http://myhost:8080/updaterlog/12345/data:log/0,1377598680245/?v=100 In my message I didn't write row name in query (12345). *But still I have the same problem - only one row return from stargate.* Thanks.

Re: Hbase 0.94.6 stargate can't use multi get

2013-08-27 Thread Dmitriy Troyan
l, > > > > I try to use multi get for receiving different versions of row but it > give > > me only one always. For example I have table log, and column family > > data:get. I put a lot of versions of row/data:log. Now I try to get all > > versions of this key. >

Re: Hbase 0.94.6 stargate can't use multi get

2013-08-27 Thread Ravi Kiran
log. Now I try to get all > versions of this key. > > As it said in manual http://wiki.apache.org/hadoop/Hbase/Stargate (Cell or > Row Query (Multiple Values)): using browser for request > http://myhost.com:8080/log/data:get/0,1377633354/?v=10 > > The response contain only one v

Hbase 0.94.6 stargate can't use multi get

2013-08-27 Thread Dmitriy Troyan
/Hbase/Stargate (Cell or Row Query (Multiple Values)): using browser for request http://myhost.com:8080/log/data:get/0,1377633354/?v=10 The response contain only one version of a key instid of give me all (max 10) available versions of a key. I break my brain on this problem. Please reffer me to

Hbase 0.94.6 stargate can't use multi get

2013-08-27 Thread Dmitriy Troyan
/Hbase/Stargate (Cell or Row Query (Multiple Values)): using browser for request http://myhost.com:8080/log/data:get/0,1377633354/?v=10 The response contain only one version of a key instid of give me all (max 10) available versions of a key. I break my brain on this problem. Please reffer me to

Fwd: Hbase 0.94.6 stargate can't use multi get

2013-08-27 Thread Dmitriy Troyan
/Hbase/Stargate (Cell or Row Query (Multiple Values)): using browser for request http://myhost.com:8080/log/data:get/0,1377633354/?v=10 The response contain only one version of a key instid of give me all (max 10) available versions of a key. I break my brain on this problem. Please reffer me to

Re: Examples of Multi Get and Multi Put using Stargate (JSON)

2013-05-14 Thread Vandana Ayyalasomayajula
the Content-type header, or if the binary data of either octet-stream or > Multipart/related is unreadable > > --Suraj > > > On Tue, May 14, 2013 at 9:04 AM, Vandana Ayyalasomayajula < > avand...@yahoo-inc.com> wrote: > >> Hi All, >> >> I am tr

Re: Examples of Multi Get and Multi Put using Stargate (JSON)

2013-05-14 Thread Suraj Varma
14, 2013 at 9:04 AM, Vandana Ayyalasomayajula < avand...@yahoo-inc.com> wrote: > Hi All, > > I am trying to find some examples involving multi-get and multi-put using > stargate but couldn't get any. > I am following this page: > > http://wiki.apache.org/hadoop/Hbase/S

Re: Hbase Stargate Returns Scrambled Values

2013-04-10 Thread Andrew Purtell
se, for JSON and XML representation types, since HBase keys and values are byte[] and can (and often do) contain nulls and other such unsafe chars, it doesn't make sense to provide them unencoded. On Wed, Apr 10, 2013 at 3:43 PM, Ameya Kantikar wrote: > When I run some simple query on stargate

Hbase Stargate Returns Scrambled Values

2013-04-10 Thread Ameya Kantikar
When I run some simple query on stargate it returns scarmbled values. eg.: curl -H "Accept: application/json" http://localhost:9001/t2/*/cf1 {"Row":[{"key":"Mg==","Cell":[{"timestamp":1363121013571,"column":"Y2YxO

Re: Stargate / Rest - Get Multiple Rows by their keys in one call

2013-03-15 Thread Suraj Varma
is works as expected. > --Suraj > > On Thu, Mar 14, 2013 at 10:38 PM, James Andrew-Smith > wrote: >> Hi All, >> >> I want to use Stargate to get multiple rows by their >> ID/Rowkey, essentially what's described here, but via REST. >> >> http://stacko

Re: Stargate / Rest - Get Multiple Rows by their keys in one call

2013-03-15 Thread Suraj Varma
wResource. Let us know if this works as expected. --Suraj On Thu, Mar 14, 2013 at 10:38 PM, James Andrew-Smith wrote: > Hi All, > > I want to use Stargate to get multiple rows by their > ID/Rowkey, essentially what's described here, but via REST. > > http://stackoverflow.com/q

Stargate / Rest - Get Multiple Rows by their keys in one call

2013-03-14 Thread James Andrew-Smith
Hi All, I want to use Stargate to get multiple rows by their ID/Rowkey, essentially what's described here, but via REST. http://stackoverflow.com/questions/13310434/hbase-api-get-data-rows-information-by-list-of-row-ids 1. Is this possible? 2. If so, Could someone give me an example o

RE: Using filters in REST/stargate returns 204 (No content)

2012-10-19 Thread Kumar, Suresh
DEBUG at the REST server. Thanks, Suresh -Original Message- From: Andrew Purtell [mailto:apurt...@apache.org] Sent: Friday, October 19, 2012 10:59 AM To: user@hbase.apache.org Subject: Re: Using filters in REST/stargate returns 204 (No content) That's a good suggestion. Additionally,

Re: Using filters in REST/stargate returns 204 (No content)

2012-10-19 Thread Andrew Purtell
t; errors as well? > > Best Regards, > > Jerry > > On Fri, Oct 19, 2012 at 1:16 PM, Kumar, Suresh >wrote: > > > > > Here is the hbase shell command which works, I am not able to get these > > results using curl/stargate. > > > > scan 'apachelog

Re: Using filters in REST/stargate returns 204 (No content)

2012-10-19 Thread Jerry Lam
Hi Suresh: Have you tried to create a scanner without the filter? Does it return errors as well? Best Regards, Jerry On Fri, Oct 19, 2012 at 1:16 PM, Kumar, Suresh wrote: > > Here is the hbase shell command which works, I am not able to get these > results using curl/stargate.

RE: Using filters in REST/stargate returns 204 (No content)

2012-10-19 Thread Kumar, Suresh
Here is the hbase shell command which works, I am not able to get these results using curl/stargate. scan 'apachelogs', { COLUMNS => 'mylog:pcol', FILTER => "SingleColumnValueFilter('mylog','pcol', =, 'regexstring: ERROR x.')&

RE: Using filters in REST/stargate returns 204 (No content)

2012-10-18 Thread Kumar, Suresh
@hbase.apache.org Subject: Re: Using filters in REST/stargate returns 204 (No content) What does the HBase shell return if you try that scan programatically? On Thu, Oct 18, 2012 at 11:02 AM, Kumar, Suresh wrote: > > > I have a HBase Java client which has a couple of filters and just work >

Re: Using filters in REST/stargate returns 204 (No content)

2012-10-18 Thread Andrew Purtell
What does the HBase shell return if you try that scan programatically? On Thu, Oct 18, 2012 at 11:02 AM, Kumar, Suresh wrote: > > > I have a HBase Java client which has a couple of filters and just work > fine, I get the expected result. > > Here is the code: > > > > HTable table

Using filters in REST/stargate returns 204 (No content)

2012-10-18 Thread Kumar, Suresh
I have a HBase Java client which has a couple of filters and just work fine, I get the expected result. Here is the code: HTable table = new HTable(conf, "apachelogs"); Scan scan = new Scan(); FilterList list = new FilterList(FilterList.Op

Re: Stargate: ScannerModel

2012-06-28 Thread Doug Meil
tomerid_transactionId. >> >> I want to scan all the rows, they key of which contains the customer Id >>that >> I have. >> >> I tried using rowFilter but it is quite slow. >> >> If I am using the scan - setStartRow and setStopRow then what would I &

Re: Stargate: ScannerModel

2012-06-28 Thread N Keywal
hich contains the customer Id that > I have. > > I tried using rowFilter but it is quite slow. > > If I am using the scan - setStartRow and setStopRow then what would I give > as parameters? > > Thanks, > Sameer > > -- > View this message in context:

Re: Stargate: Only getting HTTP 200 responses in 0.90.x

2011-07-25 Thread Andrew Purtell
Sunday, July 24, 2011 10:08 PM > Subject: RE: Stargate: Only getting HTTP 200 responses in 0.90.x > > Hi Andrew, > > Thanks for the response. > > Our Content-Type is actually "text/xml", not JSON, but I can imagine > the bug just generally relates to gzip encod

RE: Stargate: Only getting HTTP 200 responses in 0.90.x

2011-07-24 Thread Greg Cottman
From: Andrew Purtell [mailto:apurt...@apache.org] Sent: Saturday, 23 July 2011 4:20 PM To: user@hbase.apache.org Subject: Re: Stargate: Only getting HTTP 200 responses in 0.90.x > We used to get a 201 after creating a scanner with the scanner ID in > the "Location" property.  We still get t

Re: Stargate: Only getting HTTP 200 responses in 0.90.x

2011-07-22 Thread Andrew Purtell
age - > From: Greg Cottman > To: "HBase List (user@hbase.apache.org)" > Cc: > Sent: Monday, July 18, 2011 11:57 PM > Subject: Stargate: Only getting HTTP 200 responses in 0.90.x > > Hi guys, > > We're using the Stargate REST server to access HBase d

Stargate: Only getting HTTP 200 responses in 0.90.x

2011-07-18 Thread Greg Cottman
Hi guys, We're using the Stargate REST server to access HBase data and as of 0.90.1 we getting HTTP 200 packets where we used to get 201s and 204s. There seem to be two significant changes... We used to get a 201 after creating a scanner with the scanner ID in the "Location"

RE: Retrieving scanner URL via REST (Stargate)

2011-06-20 Thread Terry Siu
ne 17, 2011 4:40 PM To: user@hbase.apache.org Subject: Retrieving scanner URL via REST (Stargate) I'm having difficulty figuring out why I am unable to a get a scanner URL programmatically via the org.apache.hadoop.hbase.rest.client.Client. I followed the instructions on the Stargate wiki by s

Retrieving scanner URL via REST (Stargate)

2011-06-17 Thread Terry Siu
I'm having difficulty figuring out why I am unable to a get a scanner URL programmatically via the org.apache.hadoop.hbase.rest.client.Client. I followed the instructions on the Stargate wiki by starting up a jetty servlet container and verified a few GET operations which succeeded. I

Stargate does not accept my PUTs

2011-04-04 Thread Eric
I'm trying to use REST to post data to an HBase table. I currently try something like: curl -v -H "Content-Type: text/xml" - T test.txt http://localhost:8080/testtable/testrowkey The contents of test.txt are: test data I'm not sure about this XML: there are no examples that I can find of how

Re: Stargate+hbase

2011-03-25 Thread Weishung Chung
Message----- > From: Weishung Chung [mailto:weish...@gmail.com] > Sent: Friday, March 25, 2011 9:27 AM > To: user@hbase.apache.org > Subject: Re: Stargate+hbase > > Thank you so much for the informative info. It really helps me out. > > For secondary index, even without tr

RE: Stargate+hbase

2011-03-25 Thread Buttler, David
k that hbase support its needs in some special way. It is very instructive to see how it was constructed. Dave -Original Message- From: Weishung Chung [mailto:weish...@gmail.com] Sent: Friday, March 25, 2011 9:27 AM To: user@hbase.apache.org Subject: Re: Stargate+hbase Thank you so much

Re: Stargate+hbase

2011-03-25 Thread Stack
gt; key (see, for example, how "tsuna" designed OpenTSDB) with your primary key >> as a component. >> >> Then, when you need to query, you can do range queries over the secondary >> table to retrieve the keys in the primary table to return the full data row. >> >> Dave

Re: Stargate+hbase

2011-03-25 Thread Stack
OpenTSDB) with your primary key as a > component. > > Then, when you need to query, you can do range queries over the secondary > table to retrieve the keys in the primary table to return the full data row. > > Dave > > -Original Message- > From: Wei Shung Chung [m

Re: Stargate+hbase

2011-03-25 Thread Weishung Chung
our primary key > as a component. > > Then, when you need to query, you can do range queries over the secondary > table to retrieve the keys in the primary table to return the full data row. > > Dave > > -----Original Message- > From: Wei Shung Chung [mailto:weis

RE: Stargate+hbase

2011-03-25 Thread Buttler, David
: user@hbase.apache.org Subject: Re: Stargate+hbase I need to use secondary indexing too, hopefully this important feature will be made available soon :) Sent from my iPhone On Mar 25, 2011, at 12:48 AM, Stack wrote: > There is no native support for secondary indices in HBase (currently).

Re: Stargate+hbase

2011-03-25 Thread Wei Shung Chung
te: Is it possible using stargate interface to hbase, fetch all rows where more than one column family: must be present? like :select rows which contains keyword:a and keyword:b ? Thanks -- Sreejith PK Nesote Technologies (P) Ltd

Re: Stargate+hbase

2011-03-24 Thread Stack
or is a secondary index, and it doesn't exist at >> the moment in HBase (let alone REST). Googling a bit for "hbase >> secondary indexing" will show you how people usually do it. >> >> J-D >> >> On Thu, Mar 24, 2011 at 6:18 AM, sreejith P. K. &

Re: Stargate+hbase

2011-03-24 Thread sreejith P. K.
s a secondary index, and it doesn't exist at > the moment in HBase (let alone REST). Googling a bit for "hbase > secondary indexing" will show you how people usually do it. > > J-D > > On Thu, Mar 24, 2011 at 6:18 AM, sreejith P. K. > wrote: > > Is it possi

Re: Stargate+hbase

2011-03-24 Thread Jean-Daniel Cryans
What you are asking for is a secondary index, and it doesn't exist at the moment in HBase (let alone REST). Googling a bit for "hbase secondary indexing" will show you how people usually do it. J-D On Thu, Mar 24, 2011 at 6:18 AM, sreejith P. K. wrote: > Is it possible using

Re: schema WAS: Stargate and Hbase

2011-03-22 Thread Stack
On Tue, Mar 22, 2011 at 2:16 AM, sreejith P. K. wrote: > How can I make it possible using PHP? You would go via REST or thrift. Study the APIs on these Interfaces to see if they offer you sufficient to implement what Ted described above. St.Ack

Re: schema WAS: Stargate and Hbase

2011-03-22 Thread sreejith P. K.
>> order, >> >> >> yahoo.com(Where priority is 2+4=6 that is priority of a+priority of b) >> >> >> google.com(where priority is 1+3=4 that is priority of a+priority of b) >> >> >> facebook.com(where priority is 4 that is priority

schema WAS: Stargate and Hbase

2011-03-19 Thread Ted Yu
t; > > google.com(where priority is 1+3=4 that is priority of a+priority of b) > > > facebook.com(where priority is 4 that is priority of b) > > > I have to do the same in PHP. Please help up creating a good schema for > the > same and suggest which connector i need to

Re: Stargate and Hbase

2011-03-18 Thread sreejith P. K.
e same in PHP. Please help up creating a good schema for the same and suggest which connector i need to follow (Thrift or REST)? If it use REST, i have googled a lot to find a solution. Stargate seems works some extend, but I need a clear cut method. Thanks. On Sat, Mar 19, 2011 at 2:50 AM, And

Re: Stargate and Hbase

2011-03-18 Thread Andrew Purtell
you code your application, however. After all, it is your application. - Andy > From: Stack > Subject: Re: Stargate and Hbase > To: user@hbase.apache.org > Date: Friday, March 18, 2011, 2:14 PM > What Ted says and we use thrift for > going from php to hbase. > St.Ack >

Re: Stargate and Hbase

2011-03-18 Thread Ted Yu
> > Can anybody help me on coding PHP-hbase using Stargate interface? > > I have posted queries on the same in many forums, Unfortunately no > replies > > yet. Nobody seems interested in PHP! > > > > -- > > >

Re: Stargate and Hbase

2011-03-18 Thread Stack
What Ted says and we use thrift for going from php to hbase. St.Ack On Fri, Mar 18, 2011 at 5:11 AM, sreejith P. K. wrote: > Can anybody help me on coding PHP-hbase using Stargate interface? > I have posted queries on the same in many forums, Unfortunately no replies > yet. Nob

Re: Stargate and Hbase

2011-03-18 Thread Ted Yu
Stargate becomes REST in 0.90.x and beyond. http://hbase.apache.org/docs/current/api/org/apache/hadoop/hbase/rest/package-summary.html What was your question ? On Fri, Mar 18, 2011 at 5:11 AM, sreejith P. K. wrote: > Can anybody help me on coding PHP-hbase using Stargate interface? >

Stargate and Hbase

2011-03-18 Thread sreejith P. K.
Can anybody help me on coding PHP-hbase using Stargate interface? I have posted queries on the same in many forums, Unfortunately no replies yet. Nobody seems interested in PHP! --

Re: Stargate

2011-02-23 Thread Lars George
Hi Mike, The values are Base64 encoded, so you need to use a decoder. HBase ships with one in the REST package that you can use for example. Lars On Wed, Feb 23, 2011 at 7:22 PM, Mike wrote: > I'm having some issues converting the results of a restful call through > stargate.  I&

Stargate

2011-02-23 Thread Mike
I'm having some issues converting the results of a restful call through stargate. I'm returning the data as a json representation which appears to work fine as it returns the desired fields: JsonRepresentation jr = new JsonRepresentation(resource.get(MediaType.APPLICATION_JSON)); Wh

Re: stargate 20.6 with hbase 20.2

2011-01-20 Thread Andrew Purtell
Yes that would work. But you should look at moving to 0.90 when reasonable to do so. - Andy -Original Message- From: mike anderson Date: Thu, 20 Jan 2011 12:56:58 To: Reply-To: user@hbase.apache.org Subject: stargate 20.6 with hbase 20.2 Does it seem reasonable that I could get

Re: stargate 20.6 with hbase 20.2

2011-01-20 Thread mike anderson
upgrade to 0.90 there is no easy way to go back unless you have a >> backup. >> > >> > JG >> > >> >> -Original Message- >> >> From: mike anderson [mailto:saidthero...@gmail.com] >> >> Sent: Thursday, January 20, 2011 11:01 AM

Re: stargate 20.6 with hbase 20.2

2011-01-20 Thread mike anderson
to go back unless you have a backup. > > > > JG > > > >> -Original Message- > >> From: mike anderson [mailto:saidthero...@gmail.com] > >> Sent: Thursday, January 20, 2011 11:01 AM > >> To: user@hbase.apache.org > >> Subject: Re: stargate

Re: stargate 20.6 with hbase 20.2

2011-01-20 Thread Stack
y 20, 2011 11:01 AM >> To: user@hbase.apache.org >> Subject: Re: stargate 20.6 with hbase 20.2 >> >> I couldn't find any specific migration instructions for 0.90.0 other than >> http://wiki.apache.org/hadoop/Hbase/HowToMigrate. >> >> Is this the case? >&

RE: stargate 20.6 with hbase 20.2

2011-01-20 Thread Jonathan Gray
user@hbase.apache.org > Subject: Re: stargate 20.6 with hbase 20.2 > > I couldn't find any specific migration instructions for 0.90.0 other than > http://wiki.apache.org/hadoop/Hbase/HowToMigrate. > > Is this the case? > > > > On Thu, Jan 20, 2011 at 1:27

Re: stargate 20.6 with hbase 20.2

2011-01-20 Thread mike anderson
; Mike > > On Thu, Jan 20, 2011 at 1:07 PM, Jonathan Gray wrote: > >> It's strongly recommended that you upgrade to HBase 0.20.6 (at least) if >> not HBase 0.90.0. There are several critical bug fixes in the releases >> between 0.20.2 and 0.20.6 besides stargate. &

Re: stargate 20.6 with hbase 20.2

2011-01-20 Thread mike anderson
between 0.20.2 and 0.20.6 besides stargate. > > > -Original Message- > > From: mike anderson [mailto:saidthero...@gmail.com] > > Sent: Thursday, January 20, 2011 9:57 AM > > To: hbase-u...@hadoop.apache.org > > Subject: stargate 20.6 with hbase 20.2 &

RE: stargate 20.6 with hbase 20.2

2011-01-20 Thread Jonathan Gray
It's strongly recommended that you upgrade to HBase 0.20.6 (at least) if not HBase 0.90.0. There are several critical bug fixes in the releases between 0.20.2 and 0.20.6 besides stargate. > -Original Message- > From: mike anderson [mailto:saidthero...@gmail.com] >

stargate 20.6 with hbase 20.2

2011-01-20 Thread mike anderson
Does it seem reasonable that I could get Stargate 20.6 to work with Hbase 20.2? I need some of the improvements made in 20.6, but would rather not have to upgrade my entire cluster if I don't have to. -mike

Re: Converting Double value received via Stargate

2010-12-24 Thread Ryan Rawson
(value)? >> >> >> On Fri, Dec 24, 2010 at 9:20 AM, Subhash Bhushan < >> subhash.bhus...@stratalabs.in> wrote: >> >>> Hi, >>> >>> I am using a Ruby on Rails client to extract values from HBase via >>> Stargate. >>>

Re: Converting Double value received via Stargate

2010-12-24 Thread Subhash Bhushan
wrote: > Have you tried extracting values using Bytes.toDouble(value) or > Bytes.toLong(value)? > > > On Fri, Dec 24, 2010 at 9:20 AM, Subhash Bhushan < > subhash.bhus...@stratalabs.in> wrote: > >> Hi, >> >> I am using a Ruby on Rails c

Re: Converting Double value received via Stargate

2010-12-24 Thread Barney Frank
Have you tried extracting values using Bytes.toDouble(value) or Bytes.toLong(value)? On Fri, Dec 24, 2010 at 9:20 AM, Subhash Bhushan < subhash.bhus...@stratalabs.in> wrote: > Hi, > > I am using a Ruby on Rails client to extract values from HBase

Converting Double value received via Stargate

2010-12-24 Thread Subhash Bhushan
Hi, I am using a Ruby on Rails client to extract values from HBase via Stargate. "price" field has been defined as follows: private Do

HBase Stargate

2010-12-22 Thread John Overman
between the customer and the data, I suppose it's technically possible to have php filter the data, but that won't scale or use bloom filters. The best documentation I found on the web was here: http://wiki.apache.org/hadoop/Hbase/Stargate. It was helpful for getting me started, but i

hbase monitoring through stargate

2010-10-25 Thread Ted Yu
Hi, If you monitor hbase cluster through stargate, please share your experience. Thanks

Re: concurrency issue with Stargate/HTablePool [SOLVED]

2010-10-25 Thread Andrew Purtell
Thanks for reporting back Jeremy. We really appreciate it when users who have figured out their issues write back to the list for others to find via searches later. - Andy --- On Mon, 10/25/10, Jeremy Hinegardner wrote: > > When I have 3 concurrent clients querying stargate, &g

Re: concurrency issue with Stargate/HTablePool [SOLVED]

2010-10-25 Thread Jeremy Hinegardner
On Tue, Oct 19, 2010 at 06:03:01PM -0600, Jeremy Hinegardner wrote: > Hi all, > > I've done a bit of search on this issue, and have yet to find anything > conclusive. As a test case to demonstrate it, I am using HBase 0.20.6 > and stargate. > > I have a test HBas

Re: concurrency issue with Stargate/HTablePool

2010-10-19 Thread Stack
thing in there jumped out at me. > > thanks, > > -jeremy > > > On Wed, Oct 20, 2010 at 01:41:09AM +, Jonathan Gray wrote: >> That kind of complete pause/resume behavior most often happens from GC >> issues.  How much heap are you giving to the stargate server?  Also, try

Re: concurrency issue with Stargate/HTablePool

2010-10-19 Thread Jeremy Hinegardner
e. thanks, -jeremy On Wed, Oct 20, 2010 at 01:41:09AM +, Jonathan Gray wrote: > That kind of complete pause/resume behavior most often happens from GC > issues. How much heap are you giving to the stargate server? Also, try > doing a thread dump during the lock-up time, maybe some

Re: concurrency issue with Stargate/HTablePool

2010-10-19 Thread Jeremy Hinegardner
am not planning on using Stargate in production, it is just a readily available hbase proxy that exhibits the symptom I see in our custom proxy server. They both use HTablePool. I will see if I can get 0.89 to run on CHD3 again and see if the same syptom appears. thanks, -jeremy On Tue, Oct

RE: concurrency issue with Stargate/HTablePool

2010-10-19 Thread Jonathan Gray
That kind of complete pause/resume behavior most often happens from GC issues. How much heap are you giving to the stargate server? Also, try doing a thread dump during the lock-up time, maybe something telling there. > -Original Message- > From: Andrew Purtell [mailto

  1   2   >