accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam J Shook (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4535) HostRegexTableLoadBalancer fails with NullPointerException
Date Thu, 15 Dec 2016 19:41:58 GMT

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

Adam J Shook commented on ACCUMULO-4535:
----------------------------------------

I don't see any changes in the Blame around that part.   Master [1] calls the {{init#ServerConfigurationFactory}}
which is not what the regex load balancer is overriding [2], and the {{TabletBalancer}} doesn't
call the other init function.

[1] https://github.com/apache/accumulo/blob/1.7/server/master/src/main/java/org/apache/accumulo/master/Master.java#L589
[2] https://github.com/apache/accumulo/blob/rel/1.7.2/server/base/src/main/java/org/apache/accumulo/server/master/balancer/HostRegexTableLoadBalancer.java#L257
[3] https://github.com/apache/accumulo/blob/1.7/server/base/src/main/java/org/apache/accumulo/server/master/balancer/TabletBalancer.java#L57

I don't think it is the same as ACCUMULO-4196 -- not enough details in that ticket to tell.
 It fails trying to get assignments:

{code}
2016-12-15 13:35:55,349 [master.Master] ERROR: Error processing table state for store Root
Table
java.lang.NullPointerException
    at org.apache.accumulo.server.master.balancer.HostRegexTableLoadBalancer.getPoolNamesForHost(HostRegexTableLoadBalancer.java:142)
    at org.apache.accumulo.server.master.balancer.HostRegexTableLoadBalancer.splitCurrentByRegex(HostRegexTableLoadBalancer.java:108)
    at org.apache.accumulo.server.master.balancer.HostRegexTableLoadBalancer.getAssignments(HostRegexTableLoadBalancer.java:266)
    at org.apache.accumulo.master.TabletGroupWatcher.flushChanges(TabletGroupWatcher.java:745)
    at org.apache.accumulo.master.TabletGroupWatcher.run(TabletGroupWatcher.java:295)
{code}

> HostRegexTableLoadBalancer fails with NullPointerException
> ----------------------------------------------------------
>
>                 Key: ACCUMULO-4535
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4535
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.7.2
>            Reporter: Adam J Shook
>            Assignee: Adam J Shook
>
> Ran into an issue when testing out the {{HostRegexTableLoadBalancer}}.  It fails to start
and throws a {{NullPointerException}} when trying to access the {{poolNameToRegexPattern}}.
 The root cause is the {{init}} function the load balancer overrides is the wrong one that
the Master calls (wrong signature).



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

Mime
View raw message