Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 57932 invoked from network); 25 Mar 2010 15:21:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Mar 2010 15:21:56 -0000 Received: (qmail 20310 invoked by uid 500); 25 Mar 2010 15:21:55 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 20173 invoked by uid 500); 25 Mar 2010 15:21:55 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 20165 invoked by uid 99); 25 Mar 2010 15:21:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 15:21:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jgray@facebook.com designates 69.63.179.25 as permitted sender) Received: from [69.63.179.25] (HELO mailout-snc1.facebook.com) (69.63.179.25) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 15:21:49 +0000 Received: from mail.thefacebook.com ([192.168.18.82]) by pp01.snc1.tfbnw.net (8.14.3/8.14.3) with ESMTP id o2PFLASK031103 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Thu, 25 Mar 2010 08:21:10 -0700 Received: from SC-MBXC1.TheFacebook.com ([192.168.18.102]) by sc-hub05.TheFacebook.com ([192.168.18.82]) with mapi; Thu, 25 Mar 2010 08:21:26 -0700 From: Jonathan Gray To: "hbase-user@hadoop.apache.org" Date: Thu, 25 Mar 2010 08:21:25 -0700 Subject: RE: Stargate response strange Thread-Topic: Stargate response strange Thread-Index: AcrL7V4/Lhg7wpLGSo2dYyv1/EXWXQAPZZ42AADu7MA= Message-ID: <8D66B74984F9564BBB25C3C67D630F2D66329604@SC-MBXC1.TheFacebook.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-03-25_11:2010-02-06,2010-03-25,2010-03-25 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org Victor, Rows, column qualifiers, and values are all byte[] in HBase. Since they ca= n be any binary (but you cannot just put any binary data into XML or other = formats) they must be encoded in some way. Base64 is a common way to repre= sent binary data in ASCII. JG > -----Original Message----- > From: victor.hong@nokia.com [mailto:victor.hong@nokia.com] > Sent: Thursday, March 25, 2010 7:54 AM > To: hbase-user@hadoop.apache.org; jesper.utoft@gmail.com > Subject: Re: Stargate response strange >=20 > Hi Jesper, >=20 > Thanks for answering my questions. Any reason that they are base64 > encoded? >=20 >=20 > On 3/25/10 3:31 AM, "ext Jesper Utoft" wrote: >=20 > As always they are base64 encoded. so you have to decode them! >=20 > 2010/3/25 >=20 > > I am trying out using stargate as rest api interface to query my > table. > > > > Try > > http://localhost:8085/contacts/1 > > > > Got respnse > > > > > > > > > column=3D"bmFtZTpGaXJzdE5hbWU=3D">S2V2aW4=3D > > > > > > > > The row key, column name, and value are all coded. Anyone seen this > problem > > before? > > > > Any help is appreciated. > > -Victor > >