Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 84F9E200CA3 for ; Thu, 1 Jun 2017 16:11:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8393F160BDF; Thu, 1 Jun 2017 14:11:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CA668160BB5 for ; Thu, 1 Jun 2017 16:11:08 +0200 (CEST) Received: (qmail 32518 invoked by uid 500); 1 Jun 2017 14:11:07 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 32506 invoked by uid 99); 1 Jun 2017 14:11:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2017 14:11:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1F9ECC06B9 for ; Thu, 1 Jun 2017 14:11:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Z8CmpYF5ub_N for ; Thu, 1 Jun 2017 14:11:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4B8DD5FC6C for ; Thu, 1 Jun 2017 14:11:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AFBCDE0D1A for ; Thu, 1 Jun 2017 14:11:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B199D21B59 for ; Thu, 1 Jun 2017 14:11:04 +0000 (UTC) Date: Thu, 1 Jun 2017 14:11:04 +0000 (UTC) From: "Sean Busbey (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (HBASE-3462) Fix table.jsp in regards to splitting a region/table with an optional splitkey MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 01 Jun 2017 14:11:09 -0000 [ https://issues.apache.org/jira/browse/HBASE-3462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey reopened HBASE-3462: -------------------------------- > Fix table.jsp in regards to splitting a region/table with an optional splitkey > ------------------------------------------------------------------------------ > > Key: HBASE-3462 > URL: https://issues.apache.org/jira/browse/HBASE-3462 > Project: HBase > Issue Type: Improvement > Components: master > Affects Versions: 0.90.0 > Reporter: Lars George > Assignee: Balazs Meszaros > Labels: beginner > Fix For: 2.0.0 > > Attachments: HBASE-3462-BM-01.patch, HBASE-3462-BM-01.patch > > > After HBASE-3328 and HBASE-3437 went in there is also the table.jsp that needs updating to support the same features. Also, at the same time update the wording, for example > {quote} > This action will force a split of all eligible regions of the table, or, if a key is supplied, only the region containing the given key. An eligible region is one that does not contain any references to other regions. Split requests for noneligible regions will be ignored. > {quote} > I think it means it splits either all regions (that are splittable) or a specific one. It says though "the region containing the given key", that seems wrong in any event. Currently we do a split on the tablename when nothing was specified or else do an internal get(region), which is an exact match on the rows in .META.. In other words you need to match the region name exactly or else it fails. It reports it has accepted the request but logs internally > {code} > 2011-01-21 15:37:24,340 INFO org.apache.hadoop.hbase.client.HBaseAdmin: No server in .META. for csfsef; pair=null > {code} > Error reporting could be better but because of the async nature this is more difficult, yet it would be nice there is some concept of a Future to be able to poll the result if needed. > Finally, when you go back to the previous page after submitting the split the entered values show up in the "compact" input fields, at least on my Chrome. The inputs in both forms are named the same so it seems to confuse it. This could be improved a lot by making the landing page reload the main one automatically or refresh on reload instead of submitting the request again. -- This message was sent by Atlassian JIRA (v6.3.15#6346)