giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal J├Ąger <pas...@pascaljaeger.de>
Subject Question concerning Aggregators
Date Wed, 17 Jul 2013 14:13:58 GMT
Hi everyone,

I am trying to use an Aggregator I have written.
Unfortunately I do get an IOException.

As far as I can see the exception occurs when things are send from the
Aggregator to the Master, during a readFields of one of my classes.
The writes and readFields of my classes do not seem to be the problem
because a lot of messages get passed without any problem.
But shortly before it comes to the exception the read methods get values
that do not match to my application, e.g. It reads Long.MAX_Value / 2
instead of 3.
An then suddenly the EOF exception occurs during the readFields() of one
of my classes.

I checked if my code accidentally produces the errors by checking what
gets written out and read in later, but this seems to be okay - except for
the case below.

Do you have any idea?

Regards

Pascal

2013-07-17 15:52:09,087 INFO org.apache.giraph.master.BspServiceMaster:
aggregateWorkerStats: Aggregation found
(vtx=6,finVtx=0,edges=16,msgCount=8,haltComputation=false) on superstep = 1
2013-07-17 15:52:09,088 INFO org.apache.giraph.master.BspServiceMaster:
coordinateSuperstep: Cleaning up old Superstep
/_hadoopBsp/job_201307171551_0001/_applicationAttemptsDir/0/_superstepDir/0
2013-07-17 15:52:09,108 INFO org.apache.giraph.master.MasterThread:
masterThread: Coordination of superstep 1 took 0.07 seconds ended with
state THIS_SUPERSTEP_DONE and is now on superstep 2
2013-07-17 15:52:09,112 INFO org.apache.giraph.comm.netty.NettyClient:
connectAllAddresses: Successfully added 0 connections, (0 total connected)
0 failed, 0 failures total.
2013-07-17 15:52:09,112 INFO
org.apache.giraph.partition.PartitionBalancer:
balancePartitionsAcrossWorkers: Using algorithm static
2013-07-17 15:52:09,112 INFO org.apache.giraph.partition.PartitionUtils:
analyzePartitionStats: Vertices - Mean: 6, Min: Worker(hostname=127.0.0.1,
MRtaskID=1, port=30001) - 6, Max: Worker(hostname=127.0.0.1, MRtaskID=1,
port=30001) - 6
2013-07-17 15:52:09,112 INFO org.apache.giraph.partition.PartitionUtils:
analyzePartitionStats: Edges - Mean: 16, Min: Worker(hostname=127.0.0.1,
MRtaskID=1, port=30001) - 16, Max: Worker(hostname=127.0.0.1, MRtaskID=1,
port=30001) - 16
2013-07-17 15:52:09,119 INFO org.apache.giraph.master.BspServiceMaster:
barrierOnWorkerList: 0 out of 1 workers finished on superstep 2 on path
/_hadoopBsp/job_201307171551_0001/_applicationAttemptsDir/0/_superstepDir/2
/_workerFinishedDir
2013-07-17 15:52:09,119 INFO org.apache.giraph.master.BspServiceMaster:
barrierOnWorkerList: Waiting on [127.0.0.1_1]
2013-07-17 15:52:09,144 WARN
org.apache.giraph.comm.netty.handler.RequestServerHandler:
exceptionCaught: Channel failed with remote address /127.0.0.1:60439
java.lang.IllegalStateException: doRequest: IOException occurred while
processing request
	at 
org.apache.giraph.comm.requests.SendAggregatorsToMasterRequest.doRequest(Se
ndAggregatorsToMasterRequest.java:52)
	at 
org.apache.giraph.comm.netty.handler.MasterRequestServerHandler.processRequ
est(MasterRequestServerHandler.java:51)
	at 
org.apache.giraph.comm.netty.handler.MasterRequestServerHandler.processRequ
est(MasterRequestServerHandler.java:27)
	at 
org.apache.giraph.comm.netty.handler.RequestServerHandler.messageReceived(R
equestServerHandler.java:106)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
	at 
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOn
eDecoder.java:71)
	at 
org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(Channe
lUpstreamEventRunnable.java:45)
	at 
org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunn
able.java:69)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j
ava:895)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
918)
	at java.lang.Thread.run(Thread.java:680)
Caused by: java.io.EOFException
	at java.io.DataInputStream.readFully(DataInputStream.java:180)
	at java.io.DataInputStream.readLong(DataInputStream.java:399)
	at java.io.DataInputStream.readDouble(DataInputStream.java:451)
	at mystuff.maxflow.ExcessPath.readFields(ExcessPath.java:71)
	at mystuff.maxflow.MFMessage.readFields(MFMessage.java:42)
	at 
org.apache.giraph.master.MasterAggregatorHandler.acceptAggregatedValues(Mas
terAggregatorHandler.java:253)
	at 
org.apache.giraph.comm.requests.SendAggregatorsToMasterRequest.doRequest(Se
ndAggregatorsToMasterRequest.java:50)
	... 10 more
2013-07-17 15:57:09,151 INFO org.apache.giraph.master.BspServiceMaster:
barrierOnWorkerList: 0 out of 1 workers finished on superstep 2 on path
/_hadoopBsp/job_201307171551_0001/_applicationAttemptsDir/0/_superstepDir/2
/_workerFinishedDir
2013-07-17 15:57:09,151 INFO org.apache.giraph.master.BspServiceMaster:
barrierOnWorkerList: Waiting on [127.0.0.1_1]


Mime
View raw message