[
https://issues.apache.org/jira/browse/DRILL-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076736#comment-15076736
]
ASF GitHub Bot commented on DRILL-4238:
---------------------------------------
GitHub user jacques-n opened a pull request:
https://github.com/apache/drill/pull/313
DRILL-4238: Add a custom RPC interface on the Control channel for
extensible communication between bits.
Adds two new interfaces:
- Controller.registerCustomHandler() to register a custom message handler
- ControlTunnel.getCustomTunnel() to send and receive via a custom tunnel
(and communicate with custom handlers).
Simple test shows sending and receiving structured messages as well as
structured + unstructured messages. As an extensibility point, real uses will
come from StoragePlugins, etc.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jacques-n/drill DRILL-4238
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/313.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #313
----
commit d37f1193d7efcd932ef67df1407911a7cf9f6be4
Author: Jacques Nadeau <[email protected]>
Date: 2016-01-03T00:32:36Z
Fix issue where FutureBitComment didn't return buffer as part of future.
commit 7a7bcfa581e11246c941e35e701397c375ff45b0
Author: Jacques Nadeau <[email protected]>
Date: 2016-01-02T22:55:21Z
DRILL-4238: Add a custom RPC interface on the Control channel for
extensible communication between bits.
----
> Allow custom messages to be sent on control channel
> ---------------------------------------------------
>
> Key: DRILL-4238
> URL: https://issues.apache.org/jira/browse/DRILL-4238
> Project: Apache Drill
> Issue Type: New Feature
> Components: Execution - RPC
> Reporter: Jacques Nadeau
> Assignee: Jacques Nadeau
> Fix For: 1.5.0
>
>
> Storage Plugins may have the need to communicate between nodes. Rather than
> implementing a new RPC layer for that purpose, we should add support for a
> custom tunnel to be piggy-backed on the existing Control RPC layer.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)