Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BED7010FF7 for ; Wed, 5 Mar 2014 21:41:11 +0000 (UTC) Received: (qmail 79444 invoked by uid 500); 5 Mar 2014 21:40:56 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 79372 invoked by uid 500); 5 Mar 2014 21:40:54 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 79330 invoked by uid 99); 5 Mar 2014 21:40:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2014 21:40:52 +0000 Date: Wed, 5 Mar 2014 21:40:52 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9708) Improve Snapshot Name Error Message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921458#comment-13921458 ] Hudson commented on HBASE-9708: ------------------------------- SUCCESS: Integrated in HBase-0.98 #200 (See [https://builds.apache.org/job/HBase-0.98/200/]) HBASE-9708 Improve Snapshot Name Error Message (Esteban Gutierrez) (mbertozzi: rev 1573948) * /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/snapshot/ClientSnapshotDescriptionUtils.java * /hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/TableName.java > Improve Snapshot Name Error Message > ----------------------------------- > > Key: HBASE-9708 > URL: https://issues.apache.org/jira/browse/HBASE-9708 > Project: HBase > Issue Type: Bug > Components: snapshots > Affects Versions: 0.94.2 > Reporter: Jesse Anderson > Assignee: Matteo Bertozzi > Priority: Minor > Fix For: 0.96.2, 0.98.1, 0.99.0, 0.94.18 > > Attachments: HBASE-9708.1.patch, HBASE-9708.1.patch > > > The output for snapshots when you enter an invalid snapshot name talks about "User-space table names" instead of "Snapshot names". The error message should say "Snapshot names can only contain...". > Here is an example of the output: > {noformat} > hbase(main):001:0> snapshot 'user', 'asdf asdf' > ERROR: java.lang.IllegalArgumentException: Illegal character <32> at 4. User-space table names can only contain 'word characters': i.e. [a-zA-Z_0-9-.]: asdf asdf > Here is some help for this command: > Take a snapshot of specified table. Examples: > hbase> snapshot 'sourceTable', 'snapshotName' > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)