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

Josh Elser commented on ACCUMULO-4456:
--------------------------------------

Ok, the RPC exclusion when not the active service is definitely busted for the 
Master. I goofed up the original patch.

It looks like the only way to properly do this is to return a custom Thrift 
exception to denote this. Any RuntimeException or TException thrown by the 
Master would result in a TApplicationException on the client, and ultimately an 
AccumuloException (instead of a retry).

> Verify client functionality when active master failover
> -------------------------------------------------------
>
>                 Key: ACCUMULO-4456
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4456
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: client, master
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 2.0.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> [~kturner] asked me a good question about what the client does when it tries 
> to talk to a master which has recently lost its active status, how does the 
> client handle the thrown exception?
> Should run a quick local test.



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

Reply via email to