sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-996) Faulty loop logic in HdfsHAClientInvocationHandler + HAClientInvocationHandler
Date Wed, 23 Dec 2015 18:54:46 GMT
Colm O hEigeartaigh created SENTRY-996:
------------------------------------------

             Summary: Faulty loop logic in HdfsHAClientInvocationHandler + HAClientInvocationHandler

                 Key: SENTRY-996
                 URL: https://issues.apache.org/jira/browse/SENTRY-996
             Project: Sentry
          Issue Type: Bug
            Reporter: Colm O hEigeartaigh



As discussed on the review board here: https://reviews.apache.org/r/41349/

Both the HdfsHAClientInvocationHandler + HAClientInvocationHandler contain a while(true) loop
that looks like it was designed to catch certain exceptions + retry. However, the logic is
faulty in that it will always return after the first iteration, not matter what (as picked
up by PMD).





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

Mime
View raw message