Re: IPC error

2012-02-20 Thread David Garcia
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"  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 :
>> 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.()
>>> Any ideas?  This is on super step 0.
>>> -David
>>
>>



Re: IPC error

2012-02-20 Thread Avery Ching
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:

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.()
Any ideas?  This is on super step 0.
-David






Re: IPC error

2012-02-20 Thread Sebastian Schelter
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 :
> 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.()
>> Any ideas?  This is on super step 0.
>> -David
>
>


Re: IPC error

2012-02-20 Thread 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: org.apache.hadoop.io.ArrayWritable.()
Any ideas?  This is on super step 0.
-David




IPC error

2012-02-20 Thread David Garcia
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.()


Any ideas?  This is on super step 0.


-David