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 6648217383 for ; Sat, 4 Oct 2014 11:59:31 +0000 (UTC) Received: (qmail 53598 invoked by uid 500); 4 Oct 2014 11:59:29 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 53530 invoked by uid 500); 4 Oct 2014 11:59:29 -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 53518 invoked by uid 99); 4 Oct 2014 11:59:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Oct 2014 11:59:28 +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 serega.sheypak@gmail.com designates 209.85.215.50 as permitted sender) Received: from [209.85.215.50] (HELO mail-la0-f50.google.com) (209.85.215.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Oct 2014 11:59:02 +0000 Received: by mail-la0-f50.google.com with SMTP id s18so2294156lam.23 for ; Sat, 04 Oct 2014 04:59:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=PuWcuJoh0XcMp9tfGqeuun4Xqk+iRiVvE/p40UEmt4M=; b=0oO1+NAVlZEtvGodF9ehu4PY9dSJpF2/LymWR0idJLOuVjTIU7kKS+l66BPcBcl1qT y6USEsh/yZ6ZxYdjt2OQUliV0thbX4pm/lx+plHrkzD9fNMJCZGYZH04EvobSUEUoALd sPDDMW2ny97k9Fy71HAhBT11P7OmbdGi5v28MoEycQLAD9hDEPeG0fFTGUBU4NFgQSJq QBhW2S+/xLA7WaKQV7ws7N4Epn2hf9RtdcGjNjla7SbDmp+o+Q9KsHtt263Tss8cFMT8 5HuxqStVnCQ2KeR0gTbgIpxxBbVPorAfK5PTjvvKBqpQBWj/OiBdVEdX+Rgw60hFx1hY 9k9w== X-Received: by 10.152.87.10 with SMTP id t10mr12239582laz.22.1412423942166; Sat, 04 Oct 2014 04:59:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.157.131 with HTTP; Sat, 4 Oct 2014 04:58:42 -0700 (PDT) In-Reply-To: References: From: Serega Sheypak Date: Sat, 4 Oct 2014 15:58:42 +0400 Message-ID: Subject: Re: presplitting using binary keys To: user Content-Type: multipart/alternative; boundary=001a11c36436585de70504979375 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c36436585de70504979375 Content-Type: text/plain; charset=UTF-8 Hm... what is the rgiht way to esacape these binary keys? Tble is not created and there is no exceptions. 2014-10-04 15:52 GMT+04:00 Serega Sheypak : > Ok, I got it. Will try. > > 2014-10-04 15:46 GMT+04:00 Jean-Marc Spaggiari : > >> Hi Serega, you can not do it that way. The alter will not read this >> parameter. This should be passed to the create table command instead, or >> you need to you the split command to split a single region. >> >> JM >> >> 2014-10-04 7:41 GMT-04:00 Serega Sheypak : >> >> > Hi, I did pick long as a key for hbase table row. >> > So I see hex string representing my long key in OLD table. >> > I want to use these split keys as pre-splits for a NEW table which is >> > EMPTY. >> > I would like to run a script using hbase shell: >> > >> > >> > disable 'my_new_empty_table_with_long_key' >> > >> > alter 'my_table_my_new_empty_table_with_long_keywith_long_jey', NAME => >> > 's',SPLITS => >> > ["\\x00\\x00\\x00\\x12d\\xF47\\x9F","\\x00\\x00\\x00\\x12e\\x0D\\xB1N"] >> > >> > enable 'my_new_empty_table_with_long_key' >> > exit >> > >> > I run it but nothing happens, splits do not appear. in new table. I ca't >> > find any errors in region server log which hosts default single region >> of >> > table. >> > >> > > --001a11c36436585de70504979375--