[ 
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)

Reply via email to