You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/10/29 20:04:27 UTC

[jira] [Updated] (PHOENIX-2359) Configuration for PQS to use Protobuf serialization instead of JSON

     [ https://issues.apache.org/jira/browse/PHOENIX-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Elser updated PHOENIX-2359:
--------------------------------
    Attachment: PHOENIX-2359.001.patch

Here's a patch with what I was thinking. Bumps calcite from 1.3.0-incubating to 1.5.0 (again, 1.5.0 hasn't yet been released).

Configuration of the data format is controlled by {{phoenix.queryserver.serialization}} in hbase-site.xml: accepted values would be {{JSON}} and {{PROTOBUF}} (capitalization being irrelevant).

> Configuration for PQS to use Protobuf serialization instead of JSON
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-2359
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2359
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Trivial
>             Fix For: 4.7.0
>
>         Attachments: PHOENIX-2359.001.patch
>
>
> Calcite-1.5.0 is soon to drop. Included in that release is some work to use protocol buffers for the data transported over HTTP between client and server instead of JSON.
> I made some changes in Avatica which hopefully make Phoenix's use of the Avatica server easier, in addition to choosing the serialization.
> Let me stage the patch I've been using to test this. We can't apply it until we're confident that moving to the newer version of Calcite is safe to do.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)