You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Corey J. Nolet (JIRA)" <ji...@apache.org> on 2014/09/20 03:19:34 UTC

[jira] [Updated] (ACCUMULO-2696) Master has misleading log message in case of failure for status thread

     [ https://issues.apache.org/jira/browse/ACCUMULO-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey J. Nolet updated ACCUMULO-2696:
-------------------------------------
    Fix Version/s:     (was: 1.6.1)
                   1.6.2

> Master has misleading log message in case of failure for status thread
> ----------------------------------------------------------------------
>
>                 Key: ACCUMULO-2696
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2696
>             Project: Accumulo
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.4.0, 1.5.0, 1.6.0
>            Reporter: Sean Busbey
>            Assignee: Al Krinker
>            Priority: Minor
>              Labels: logging, newbie
>             Fix For: 1.6.2, 1.7.0
>
>
> the status thread is a worker within the Master that handles internal state transitions. It contains this handler in a catch-all block to ensure it keeps working:
> {noformat}
>         } catch (Throwable t) {
>           log.error("Error balancing tablets", t);
>           UtilWaitThread.sleep(WAIT_BETWEEN_ERRORS);
>         }
> {noformat}
> while balancing does happen in this thread (in a call to updateStatus before this catch), the try block encompasses a great deal of additional code. so this message can be misleading about where to look for problems. It should be updated to state that there was a problem iwth transitioning states and should probably indicate both that it will retry and how long it will pause before doing so.



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