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 500E1200B9F for ; Tue, 11 Oct 2016 10:44:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4EC77160AD2; Tue, 11 Oct 2016 08:44:22 +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 8EE8D160AE6 for ; Tue, 11 Oct 2016 10:44:21 +0200 (CEST) Received: (qmail 13560 invoked by uid 500); 11 Oct 2016 08:44:20 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 13549 invoked by uid 99); 11 Oct 2016 08:44:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2016 08:44:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7916A2C4C75 for ; Tue, 11 Oct 2016 08:44:20 +0000 (UTC) Date: Tue, 11 Oct 2016 08:44:20 +0000 (UTC) From: "Alex Petrov (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-12454) Unable to start on IPv6-only node with local JMX MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 11 Oct 2016 08:44:22 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15555225#comment-15555225 ] Alex Petrov edited comment on CASSANDRA-12454 at 10/11/16 8:43 AM: ------------------------------------------------------------------- +1 for the patch. I know the change is harmless but to exclude human error (like imports or some other minor thing), I've still triggered a CI. Hope you don't mind: |[trunk|https://github.com/ifesdjeen/cassandra/tree/12454-trunk]|[dtest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-12454-trunk-dtest/]|[utest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-12454-trunk-testall/]| was (Author: ifesdjeen): +1 for the patch. I know the change is harmless but to exclude human error (like imports or some other minor thing), I've still triggered a CI. Hope you don't mind: |[trunk|https://github.com/ifesdjeen/cassandra/tree/12454-trunk]|[dtest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-12454-trunk-testall/]|[utest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-12454-trunk-testall/]| > Unable to start on IPv6-only node with local JMX > ------------------------------------------------ > > Key: CASSANDRA-12454 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12454 > Project: Cassandra > Issue Type: Bug > Environment: Ubuntu Trusty, Oracle JDK 1.8.0_102-b14, IPv6-only host > Reporter: Vadim Tsesko > Assignee: Sam Tunnicliffe > Fix For: 3.x > > > A Cassandra node using *default* configuration is unable to start on *IPv6-only* machine with the following error message: > {code} > ERROR [main] 2016-08-13 14:38:07,309 CassandraDaemon.java:731 - Bad URL path: :0:0:0:0:0:1/jndi/rmi://0:0:0:0:0:0:0:1:7199/jmxrmi > {code} > The problem might be located in {{JMXServerUtils.createJMXServer()}} (I am not sure, because there is no stack trace in {{system.log}}): > {code:java} > String urlTemplate = "service:jmx:rmi://%1$s/jndi/rmi://%1$s:%2$d/jmxrmi"; > ... > String url = String.format(urlTemplate, (serverAddress != null ? serverAddress.getHostAddress() : "0.0.0.0"), port); > {code} > IPv6 addresses must be surrounded by square brackets when passed to {{JMXServiceURL}}. > Disabling {{LOCAL_JMX}} mode in {{cassandra-env.sh}} (and enabling JMX authentication) helps. -- This message was sent by Atlassian JIRA (v6.3.4#6332)