Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58FC1108D5 for ; Mon, 5 Aug 2013 09:00:40 +0000 (UTC) Received: (qmail 53941 invoked by uid 500); 5 Aug 2013 09:00:36 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 53802 invoked by uid 500); 5 Aug 2013 09:00:27 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 53791 invoked by uid 99); 5 Aug 2013 09:00:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 09:00:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of justlooks@gmail.com designates 209.85.219.53 as permitted sender) Received: from [209.85.219.53] (HELO mail-oa0-f53.google.com) (209.85.219.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 09:00:18 +0000 Received: by mail-oa0-f53.google.com with SMTP id k18so5568045oag.40 for ; Mon, 05 Aug 2013 01:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LTIyPKv2mq0OJnaNhQ7rAIJrueV2LFouF0t/0SOm1ok=; b=bvkwzWYu7Ip1kyYKkesqHdh2fhvGVshPkWB4W4K+h0ICPWq1zg3K97Hho/LlXIggKH HnAb8un5/eRP2QXzM/TqbXVq0YiatXtyL0xTtVGj7A8J7riIXN0hSCCbsEqyn8S4HOUH dkX2Sho/e22VCfO28f3zF0rdPMflJZ2FeGsTo20o3MHATbBaay3XZs6/Ny3XweY9LybV I1HmprN5u8EwwLOqfgWwDmlkzLfLuQIlD1VY8Fvve727w3Rqn7HMKHwb5hfTuvJo3OfR pZ6G2bbTFlzHU0+wQ53LMaMKWWsz0JR5zBMs1iqdoOxL/04c8xFC8LVo6kX7ruc4eHgY J3vA== MIME-Version: 1.0 X-Received: by 10.182.88.202 with SMTP id bi10mr13601159obb.91.1375693197598; Mon, 05 Aug 2013 01:59:57 -0700 (PDT) Received: by 10.182.129.138 with HTTP; Mon, 5 Aug 2013 01:59:57 -0700 (PDT) Date: Mon, 5 Aug 2013 16:59:57 +0800 Message-ID: Subject: issue about put key value and reverse key value into hbase From: ch huang To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=089e0111be765ce57f04e32f88ae X-Virus-Checked: Checked by ClamAV on apache.org --089e0111be765ce57f04e32f88ae Content-Type: text/plain; charset=ISO-8859-1 hi,all: i have a key value like 'testkey' , and value '\x00\x00R', i wanto to store them in hbase as rowkey and value rowkey => 'testkey' , info:key => '\x00\x00R' and rowkey => '\x00\x00R' ,info:value => 'testkey' but i try the following command ,it not correct hbase(main):001:0> put 'demo','\x00\x00R','info:kv','testme' 0 row(s) in 0.1180 seconds hbase(main):002:0> scan 'demo' ROW COLUMN+CELL \x5Cx00\x5Cx00R column=info:kv, timestamp=1375692802127, value=testme 1 row(s) in 0.0610 seconds hbase(main):003:0> put 'demo','testme','info:vk','\x00\x00R' 0 row(s) in 0.0060 seconds hbase(main):004:0> scan 'demo' ROW COLUMN+CELL \x5Cx00\x5Cx00R column=info:kv, timestamp=1375692802127, value=testme testme column=info:vk, timestamp=1375693076792, value=\x5Cx00\x5Cx00R 2 row(s) in 0.0190 seconds --089e0111be765ce57f04e32f88ae--