Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C194DA00 for ; Thu, 25 Oct 2012 00:00:12 +0000 (UTC) Received: (qmail 74317 invoked by uid 500); 25 Oct 2012 00:00:12 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 74285 invoked by uid 500); 25 Oct 2012 00:00:12 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 74275 invoked by uid 500); 25 Oct 2012 00:00:12 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 74272 invoked by uid 99); 25 Oct 2012 00:00:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2012 00:00:12 +0000 Date: Thu, 25 Oct 2012 00:00:12 +0000 (UTC) From: "Avery Ching (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <900754227.24959.1351123212217.JavaMail.jiratomcat@arcas> In-Reply-To: <1552979731.24857.1351121532401.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (GIRAPH-386) ClassCastException when giraph.SplitMasterWorker=false 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/GIRAPH-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483744#comment-13483744 ] Avery Ching commented on GIRAPH-386: ------------------------------------ [~majakabiljo], any thoughts? > ClassCastException when giraph.SplitMasterWorker=false > ------------------------------------------------------ > > Key: GIRAPH-386 > URL: https://issues.apache.org/jira/browse/GIRAPH-386 > Project: Giraph > Issue Type: Bug > Reporter: Jaeho Shin > > Using -Dgiraph.SplitMasterWorker=false with a recent trunk (r1401165) caused the machine who is playing the master role (showing itself as {{ALL}} from the task tracker page) to throw ClassCastException (SendVertexRequest -> MasterRequest) from MasterRequestServerHandler class. I'm trying to use as many machines as possible for actual computation (can't afford to waste one for master+ZK). This worked fine with r1388628 (roughly a month ago), so a recent change must've broken something. Here's the relevant log I captured: > {code} > 2012-10-24 23:08:02,152 WARN org.apache.giraph.comm.netty.handler.RequestServerHandler: exceptionCaught: Channel failed with remote address /10.x.y.z:41780 > java.lang.ClassCastException: org.apache.giraph.comm.requests.SendVertexRequest cannot be cast to org.apache.giraph.comm.requests.MasterRequest > at org.apache.giraph.comm.netty.handler.MasterRequestServerHandler.processRequest(MasterRequestServerHandler.java:25) > at org.apache.giraph.comm.netty.handler.RequestServerHandler.messageReceived(RequestServerHandler.java:100) > at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) > at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:71) > at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:45) > at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69) > 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) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira