You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by David Garcia <dg...@potomacfusion.com> on 2012/02/21 00:41:35 UTC
IPC error
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: org.apache.hadoop.io.ArrayWritable.<init>()
Any ideas? This is on super step 0.
-David
Re: IPC error
Posted by Avery Ching <ac...@apache.org>.
Argh, I think you're right Sebastian. We have an ArrayListWritable in
Giraph as well that is used by MsgListWritable.
Avery
On 2/20/12 3: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.
>
> --sebastian
>
> 2012/2/21 Avery Ching<ac...@apache.org>:
>> 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:
>>> org.apache.hadoop.io.ArrayWritable.<init>()
>>> Any ideas? This is on super step 0.
>>> -David
>>
Re: IPC error
Posted by David Garcia <dg...@potomacfusion.com>.
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); } }"
http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/io/Array
Writable.html
On 2/20/12 5:57 PM, "Sebastian Schelter" <ss...@apache.org> 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.
>
>--sebastian
>
>2012/2/21 Avery Ching <ac...@apache.org>:
>> 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:
>>> org.apache.hadoop.io.ArrayWritable.<init>()
>>> Any ideas? This is on super step 0.
>>> -David
>>
>>
Re: IPC error
Posted by Sebastian Schelter <ss...@apache.org>.
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.
--sebastian
2012/2/21 Avery Ching <ac...@apache.org>:
> 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:
>> org.apache.hadoop.io.ArrayWritable.<init>()
>> Any ideas? This is on super step 0.
>> -David
>
>
Re: IPC error
Posted by Avery Ching <ac...@apache.org>.
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: org.apache.hadoop.io.ArrayWritable.<init>()
> Any ideas? This is on super step 0.
> -David