[
https://issues.apache.org/jira/browse/DRILL-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267099#comment-14267099
]
Parth Chandra commented on DRILL-1361:
--------------------------------------
Yes. The error code is returned when the peer explicitly closes the connection
(which is what the drillbit does when the rpc version is not the correct one).
See the example program from boost here:
http://www.boost.org/doc/libs/1_36_0/doc/html/boost_asio/tutorial/tutdaytime1.html
> C++ Client needs a better error message when the handshake fails.
> -----------------------------------------------------------------
>
> Key: DRILL-1361
> URL: https://issues.apache.org/jira/browse/DRILL-1361
> Project: Apache Drill
> Issue Type: Improvement
> Components: Client - C++
> Reporter: Parth Chandra
> Assignee: Parth Chandra
> Priority: Minor
> Fix For: 0.8.0
>
> Attachments: DRILL-1361.patch.diff
>
>
> If the RPC version between the C++ client and the Drillbit fails, the client
> lib returns an 'End of File' error message. The client needs to provide a
> better message indicating that the client and the server are not at the same
> RPC version and the client needs to be upgraded (or downgraded).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)