Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0D068200BE2 for ; Thu, 15 Dec 2016 21:09:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0BBB4160B2D; Thu, 15 Dec 2016 20:09:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5B68A160B15 for ; Thu, 15 Dec 2016 21:08:59 +0100 (CET) Received: (qmail 63836 invoked by uid 500); 15 Dec 2016 20:08:58 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 63678 invoked by uid 99); 15 Dec 2016 20:08:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2016 20:08:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 609D62C03DE for ; Thu, 15 Dec 2016 20:08:58 +0000 (UTC) Date: Thu, 15 Dec 2016 20:08:58 +0000 (UTC) From: "Adam J Shook (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (ACCUMULO-4535) HostRegexTableLoadBalancer fails with NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Dec 2016 20:09:00 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15752349#comment-15752349 ] Adam J Shook edited comment on ACCUMULO-4535 at 12/15/16 8:07 PM: ------------------------------------------------------------------ Wouldn't it be best to remove {{TabletBalancer#init(ServerConfiguration)}} entirely? I find no other usages of this function outside of the {{HostRegexTableLoadBalancer}} tests and in the {{ChaoticLoadBalancer}} which just throws a not implemented exception. edit: edit: Nevermind the nevermind, this could be done... Though it would break non-standard load balancers that are using this function instead of the other one. was (Author: adamjshook): Wouldn't it be best to remove {{TabletBalancer#init(ServerConfiguration)}} entirely? I find no other usages of this function outside of the {{HostRegexTableLoadBalancer}} tests and in the {{ChaoticLoadBalancer}} which just throws a not implemented exception. edit: edit: nevermind the nevermind, this could be done... > 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)