accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2410) TServerUtils no longer needs to catch NPE as a thrift bug workaround
Date Wed, 26 Feb 2014 19:33:19 GMT

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

Josh Elser commented on ACCUMULO-2410:
--------------------------------------

Thrift-0.9.0 is used by both 1.5 and 1.6. 1.4 is the only version still on Thrift 0.6.x

> TServerUtils no longer needs to catch NPE as a thrift bug workaround
> --------------------------------------------------------------------
>
>                 Key: ACCUMULO-2410
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2410
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.5.1
>            Reporter: Mike Drob
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.6.0, 1.5.2
>
>
> Since we are using thrift 0.9.0 starting with Accumulo 1.6, we should be able to clean
up the following code in {{TServerUtils}}.
> {code:java}
>         try {
>           return other.process(in, out);
>         } catch (NullPointerException ex) {
>           // THRIFT-1447 - remove with thrift 0.9
>           return true;
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message