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 1D0021736F for ; Sat, 4 Oct 2014 11:52:53 +0000 (UTC) Received: (qmail 44328 invoked by uid 500); 4 Oct 2014 11:52:51 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 44256 invoked by uid 500); 4 Oct 2014 11:52:51 -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 44244 invoked by uid 99); 4 Oct 2014 11:52:50 -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:52:50 +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.217.182 as permitted sender) Received: from [209.85.217.182] (HELO mail-lb0-f182.google.com) (209.85.217.182) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Oct 2014 11:52:24 +0000 Received: by mail-lb0-f182.google.com with SMTP id z11so2244928lbi.27 for ; Sat, 04 Oct 2014 04:52:24 -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=xaihDh+JlKf0mtiPVOWSpHRaq4o5YsdUJ+n2rz+/ieo=; b=NZpXxLsBzUHCEEwOqgEHa3sS7xsGWHxGgDU+v2tsUpuehArTORIO4o4S8GyjHn0ZUn ohTdMT5YNtdz5G+KdG6L18FmwPkBuyE0RuCkCNhcqjashnzfL4vgdznRRPn8HcI95aDi pZvflJTf4z43IUWERUnw4lL8Qok8O77w4yvafLDE+OFbtr9R3jzZPFxK5oPZYDXGlBTt ZsquVTEz7OsCbednt8lNMFdEVMF19MDJkBIyOCzGiOYGjZ2F1alZQynGjGqscj01vabV NBf83WX02YbgWSFXjaXZTeQXgBRfNLWhUUvb9hqSv2wK/9/Sm0z9njkkpmXh6uqjANzn ZjBA== X-Received: by 10.152.2.41 with SMTP id 9mr2528021lar.79.1412423544141; Sat, 04 Oct 2014 04:52:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.157.131 with HTTP; Sat, 4 Oct 2014 04:52:03 -0700 (PDT) In-Reply-To: References: From: Serega Sheypak Date: Sat, 4 Oct 2014 15:52:03 +0400 Message-ID: Subject: Re: presplitting using binary keys To: user Content-Type: multipart/alternative; boundary=089e013c62589efba60504977be2 X-Virus-Checked: Checked by ClamAV on apache.org --089e013c62589efba60504977be2 Content-Type: text/plain; charset=UTF-8 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. > > > --089e013c62589efba60504977be2--