Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CAF6D29B for ; Tue, 30 Oct 2012 22:29:24 +0000 (UTC) Received: (qmail 15113 invoked by uid 500); 30 Oct 2012 22:29:24 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 15082 invoked by uid 500); 30 Oct 2012 22:29:24 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 15074 invoked by uid 99); 30 Oct 2012 22:29:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 22:29:24 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of marc@accumulo.net does not designate 209.85.212.41 as permitted sender) Received: from [209.85.212.41] (HELO mail-vb0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 22:29:16 +0000 Received: by mail-vb0-f41.google.com with SMTP id v13so1007129vbk.0 for ; Tue, 30 Oct 2012 15:28:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=wN+rw/43M986q8nwFnM5sOeG2LXlzBGmzISh/maL02U=; b=cnFluGf5GphiVA0quIJXNan0LzzuHM5Gs1brBi4LYHnhU25s6hDlZE9itmbc9Jt9iG v5jBH01zppA7QnGsl8hXYYXAUsMGbJmOb0rqWv92JMtjLmXGdextA6DsIUjo7scVezmc a6NCOAaCNX3ndpsRJDGnFkvpNofqz5Ctvs+SyJHMq4gIMlW6hvnS3SVAvM7mkWto4cVd GtL7oa+xAWIlgeoYhpNm4jF+4ga+TlDypdpidlxZ1sGUbC/qxdFi1abXKsV2vPpuz7pj QoOtxon4FCDfawq+fUPJCx08OY1o5crLLT3XlJqH5ihXd9h5TLr++wiIjupqItYKXCgL Yt0A== MIME-Version: 1.0 Received: by 10.220.8.138 with SMTP id h10mr36606595vch.35.1351636134991; Tue, 30 Oct 2012 15:28:54 -0700 (PDT) Received: by 10.58.207.17 with HTTP; Tue, 30 Oct 2012 15:28:54 -0700 (PDT) X-Originating-IP: [70.164.180.204] In-Reply-To: References: <508EACFF.5000704@gmail.com> <508EB572.2020507@gmail.com> <508F236F.6070108@gmail.com> Date: Tue, 30 Oct 2012 18:28:54 -0400 Message-ID: Subject: Re: Setting Charset in getBytes() call. From: Marc Parisi To: dev@accumulo.apache.org Content-Type: multipart/alternative; boundary=bcaec54fb414b117e804cd4e4f8f X-Gm-Message-State: ALoCoQl2iXW94mDfuBxttn3wxcOSn5/0ya6+hv7tz5O7J4IpBwJNi72eZzcoWasx/GN56P1i/h85 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54fb414b117e804cd4e4f8f Content-Type: text/plain; charset=ISO-8859-1 Instead of taking the platform encoding ( which can be changed as von cloud suggested ), we're creating a class specific private definition? This isn't particularly dynamic and an override for those who want to use a platform specific encoding. This is a maintenance nightmare. I think before you move forward with it, think of someone who doesn't want this change and how difficult it would be to utilize their own or a different encoding scheme. At the very least you can create a singleton that creates a dynamic encoding for that, which can be modified via the accumulo configuration. On Tue, Oct 30, 2012 at 4:02 PM, Eric Newton wrote: > > The current reliance on Text is in my opinion the greatest deficit of the > > client API- > > > > Heh... if only that were true! > > But it is a big wart: requires users' to include the hadoop-core library in > client code, which is unfortunate. But it's probably going to be required > for the importDirectory() call anyhow. > > -Eric > --bcaec54fb414b117e804cd4e4f8f--