You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/05/02 02:09:06 UTC

[jira] [Commented] (DRILL-2885) Return more precise error codes on handshake failures in C++ client

    [ https://issues.apache.org/jira/browse/DRILL-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14524351#comment-14524351 ] 

Parth Chandra commented on DRILL-2885:
--------------------------------------

While you can certainly add application specific messages based on these codes, it is still a good idea to use the message from the API/server. For example in an RPC version mismatch, the server message will tell you what the expected version was.

> Return more precise error codes on handshake failures in C++ client
> -------------------------------------------------------------------
>
>                 Key: DRILL-2885
>                 URL: https://issues.apache.org/jira/browse/DRILL-2885
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>            Reporter: Norris Lee
>            Assignee: Norris Lee
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> Currently, when a handshake failure occurs, only a generic handshake error code is returned. Should be more granular for better error messages (Otherwise will have to resort to dumping whatever error message the server and client returns).



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