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 1E76BC52F for ; Tue, 18 Jun 2013 21:10:22 +0000 (UTC) Received: (qmail 35002 invoked by uid 500); 18 Jun 2013 21:10:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 34964 invoked by uid 500); 18 Jun 2013 21:10:21 -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 34955 invoked by uid 99); 18 Jun 2013 21:10:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 21:10:21 +0000 Date: Tue, 18 Jun 2013 21:10:21 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8015) Support for Namespaces 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-8015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687200#comment-13687200 ] Enis Soztutar commented on HBASE-8015: -------------------------------------- BTW regarding separator chars: "\/:*?<>|" NTFS does not allow these chars "\/~" Meaningful in ext/ntfs. "-" and "_" cannot be used because they are legal in table names. "#" Comment in many SQL dialects, not compatible with URL encoding. "$%&" Used in shell scripts This leaves: "!@^+=," if we disregard parenthesis chars. These also seem to work for HDFS. "," is our internal separator for region names and META naming. @ also seems good enough. Haven't tried these for znodes. It seems that we could not reach an agreement on which proposal to implement, where they are 1) use dot as separator, autogenerate namespaces on migration 2) use one of the candidate char's above as ns and table separator. 3) In all places that require a table name, override with accepting namespace. However, it seems that we definitely have to have an internal separator char and a deterministic way of encoding pair into a string and decoding it back. This is because we need to do this for znodes in zktable, tablelockmanager, etc as well as META. So, I think it is a matter of whether we want to expose the separator char between proposal 2 and 3. I am in favor of doing 2, since it will allow better interop with external tools, and the code changes needed for 3 is significant. > Support for Namespaces > ---------------------- > > Key: HBASE-8015 > URL: https://issues.apache.org/jira/browse/HBASE-8015 > Project: HBase > Issue Type: New Feature > Reporter: Francis Liu > Assignee: Francis Liu > Attachments: HBASE-8015_draft_94.patch, Namespace Design.pdf > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira