Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DF80D5E7 for ; Thu, 28 Jun 2012 18:04:45 +0000 (UTC) Received: (qmail 51065 invoked by uid 500); 28 Jun 2012 18:04:45 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 51016 invoked by uid 500); 28 Jun 2012 18:04:45 -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 50956 invoked by uid 99); 28 Jun 2012 18:04:45 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 18:04:45 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id AD07214284E for ; Thu, 28 Jun 2012 18:04:44 +0000 (UTC) Date: Thu, 28 Jun 2012 18:04:44 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: <1172824534.67960.1340906684710.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1105665819.63343.1340823704232.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (CASSANDRA-4384) HintedHandoff can begin before SS knows the hostID MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403309#comment-13403309 ] Brandon Williams commented on CASSANDRA-4384: --------------------------------------------- I'm inclined to agree with Sam, since this is how the problem is solved with tokens. > HintedHandoff can begin before SS knows the hostID > -------------------------------------------------- > > Key: CASSANDRA-4384 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4384 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.2 > Reporter: Brandon Williams > Assignee: Brandon Williams > Fix For: 1.2 > > > Since HH fires from the FD, SS won't quite have the hostId yet: > {noformat} > INFO 18:58:04,196 Started hinted handoff for host: null with IP: /10.179.65.102 > INFO 18:58:04,197 Node /10.179.65.102 state jump to normal > ERROR 18:58:04,197 Exception in thread Thread[HintedHandoff:1,1,main] > java.lang.NullPointerException > at org.apache.cassandra.utils.UUIDGen.decompose(UUIDGen.java:120) > at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpointInternal(HintedHandOffManager.java:304) > at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:250) > at org.apache.cassandra.db.HintedHandOffManager.access$400(HintedHandOffManager.java:87) > at org.apache.cassandra.db.HintedHandOffManager$4.runMayThrow(HintedHandOffManager.java:433) > at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:26) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > {noformat} > Simple solution seems to be getting the hostId from gossip instead. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira