hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: stargate response in binary format
Date Fri, 30 Jul 2010 02:47:27 GMT
Hey Avani,

What happens if you also specify the "-i" flag to curl to dump the header
output?

-Todd

On Thu, Jul 29, 2010 at 6:38 PM, Sharma, Avani <agsharma@ebay.com> wrote:

> Hi,
>
> I want to get  binary output from HBase via stargate.
>
> I used -H "Accept: application/octet-stream" format as described at
> http://wiki.apache.org/hadoop/Hbase/Stargate
> However, my simple curl command comes back with 0 bytes.  What does this
> mean -" If the encoding is binary, returns row, column, and timestamp in X
> headers: X-Row, X-Column, and X-Timestamp, respectively". Am I missing  some
> initial setup for binary output to work?
>
> I am doing this to avoid stripping headers from stargate's response, when
> integrating this in C++ using libcurl.
> Curl command looks like:
>
> curl -H "Accept: application/octet-stream" http://localhost:8000/
> <table_name>/<row_id>
>
>
> Thanks,
> -Avani
>
>


-- 
Todd Lipcon
Software Engineer, Cloudera

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message