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 E0CD5200BE2 for ; Thu, 15 Dec 2016 20:55:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DF536160B15; Thu, 15 Dec 2016 19:55:04 +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 5AEEC160B13 for ; Thu, 15 Dec 2016 20:55:04 +0100 (CET) Received: (qmail 27093 invoked by uid 500); 15 Dec 2016 19:54: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 26967 invoked by uid 99); 15 Dec 2016 19:54: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 19:54:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 554082C03DE for ; Thu, 15 Dec 2016 19:54:58 +0000 (UTC) Date: Thu, 15 Dec 2016 19:54:58 +0000 (UTC) From: "Adam J Shook (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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 19:55:05 -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 commented on ACCUMULO-4535: ---------------------------------------- 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. > 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)