giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-386) ClassCastException when giraph.SplitMasterWorker=false
Date Tue, 13 Nov 2012 23:24:14 GMT

    [ https://issues.apache.org/jira/browse/GIRAPH-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496665#comment-13496665
] 

Hudson commented on GIRAPH-386:
-------------------------------

Integrated in Giraph-trunk-Commit #282 (See [https://builds.apache.org/job/Giraph-trunk-Commit/282/])
    GIRAPH-386: ClassCastException when giraph.SplitMasterWorker=false (Revision 1408926)

     Result = SUCCESS
maja : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1408926
Files : 
* /giraph/trunk/CHANGELOG
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/bsp/CentralizedServiceMaster.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/bsp/CentralizedServiceWorker.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/MasterClientServer.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/WorkerClient.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/WorkerServer.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/NettyClient.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/NettyMasterClient.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/NettyMasterClientServer.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/NettyMasterServer.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/NettyServer.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/NettyWorkerClient.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/NettyWorkerServer.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/handler/ClientRequestId.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/handler/MasterRequestServerHandler.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/handler/RequestServerHandler.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/handler/WorkerRequestServerHandler.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/AddressesAndPartitionsWritable.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/BspService.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/BspServiceMaster.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/BspServiceWorker.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/MasterAggregatorHandler.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/MasterInfo.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/TaskInfo.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/WorkerInfo.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/zk/ZooKeeperManager.java
* /giraph/trunk/giraph/src/test/java/org/apache/giraph/comm/ConnectionTest.java
* /giraph/trunk/giraph/src/test/java/org/apache/giraph/comm/RequestFailureTest.java
* /giraph/trunk/giraph/src/test/java/org/apache/giraph/comm/RequestTest.java
* /giraph/trunk/giraph/src/test/java/org/apache/giraph/comm/SaslConnectionTest.java

                
> 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
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-386.diff, GIRAPH-386.diff, GIRAPH-386.patch, GIRAPH-386.patch
>
>
> 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

Mime
View raw message