giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Garcia <>
Subject Re: IPC error
Date Tue, 21 Feb 2012 00:04:15 GMT
Yeah, I just saw this. . .bad design from Hadoop.  ArrayWritable doesn't
have default.  This really needs to be fixed. . .I think this is the 2nd
time this has bitten me.  I can't remember all the bugs all the time.


"A Writable for arrays containing instances of a class. The elements of
this writable must all be instances of the same class. If this writable
will be the input for a Reducer, you will need to create a subclass that
sets the value to be of the proper type. For example: public class
IntArrayWritable extends ArrayWritable { public IntArrayWritable() {
super(IntWritable.class); } }"

On 2/20/12 5:57 PM, "Sebastian Schelter" <> wrote:

>This looks like the code tries to invoke a no-arg constructor of
>ArrayWritable (which doesn't exist AFAIK). Do you use a custom
>writable? It needs to have a working no-arg constructor.
>2012/2/21 Avery Ching <>:
>> I wonder if Giraph is compiled with the correct Hadoop version?  What
>>is the
>> Hadoop version you're using?
>> Avery
>> On 2/20/12 3:41 PM, David Garcia wrote:
>>> Hello all,  I'm getting this error and I'm pretty sure that I have my
>>> class path stuff setup right. . .maybe not.
>>> ERROR org.apache.giraph.comm.BasicRPCCommunications:
>>> org.apache.hadoop.ipc.RemoteException: IPC server unable to read call
>>> parameters: java.lang.NoSuchMethodException:
>>> Any ideas?  This is on super step 0.
>>> -David

View raw message