Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-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 67DE0F13F for ; Tue, 6 Aug 2013 03:53:51 +0000 (UTC) Received: (qmail 5230 invoked by uid 500); 6 Aug 2013 03:50:30 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 4829 invoked by uid 500); 6 Aug 2013 03:50:19 -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 4553 invoked by uid 99); 6 Aug 2013 03:46:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 03:46:38 +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 (athena.apache.org: domain of anoop.hbase@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qc0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 03:46:33 +0000 Received: by mail-qc0-f172.google.com with SMTP id a1so2155066qcx.31 for ; Mon, 05 Aug 2013 20:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6ZwQaD40HrjKfFAeNanWIbzWhs4Kbky89cMlGIlF/5s=; b=NHVPN8Dzqb++bBpk3i4EPAmaNy2QkmiLiT/PRSlHAN2b4gahVz4/RStQV5ATdgJ0aJ Er+D8aLMp3tI1QbKWSFW7ZBtF9culBKCUeDFz4yVzprNhLcPqBWK0b0K59phMuW2m456 HOXE8/DH2PzJOMhO9rh3bDw6CNim30BK/UHfHth0ik7kwt0QtX8F9sv+QFhK+kubuZQC xyumQodsk+/Lj8MufiMGBa1XRqkyuzYd6li1zbUcE7KrHni81skUiGV7hwHKqPAcUA6D 0UG0GBZ43vCmUFyiurhngpX4Vyd8cmXvHsQZscutmxXi9qzpTdQ8AkHjdDtJb7J3kpqa fEaQ== MIME-Version: 1.0 X-Received: by 10.49.36.8 with SMTP id m8mr29913434qej.57.1375760773306; Mon, 05 Aug 2013 20:46:13 -0700 (PDT) Received: by 10.49.116.174 with HTTP; Mon, 5 Aug 2013 20:46:13 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 Aug 2013 09:16:13 +0530 Message-ID: Subject: Re: Having different codecs between Client and Server From: Anoop John To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=047d7b672a12305c7504e33f44a8 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b672a12305c7504e33f44a8 Content-Type: text/plain; charset=ISO-8859-1 >Could the codec itself figure its context and act appropriately? +1 for this. -Anoop- On Tue, Aug 6, 2013 at 3:52 AM, Stack wrote: > On Mon, Aug 5, 2013 at 1:04 PM, ramkrishna vasudevan < > ramkrishna.s.vasudevan@gmail.com> wrote: > > > Hi > > > > Currently in the RPC client we can configure the codec but the same codec > > would apply to the client and the server. > > > > If we could configure a different codec for the server to client > > communication it could help us in some cases. > > > > For example, if we need to remove the tags from sending it to the client > > then having a new KV Codec on the server side would help to remove the > tags > > before sending it to the client for security usecases. > > > > So when we move to Cells later this type of selecting codecs would would > > really be useful. > > > > Am i missing something here? Thoughts on this? > > > > Makes sense. > > We don't have vocabulary for doing this currently. > > Could the codec itself figure its context and act appropriately? > > St.Ack > --047d7b672a12305c7504e33f44a8--