Thanks a lot for fixing the problem...Now its working fine..my silly
mistake troubled me a lot..
Thanks once again for your ideas..:)
On Thu, Nov 21, 2013 at 2:46 AM, Claudio Martella <
claudio.marte...@gmail.com> wrote:
> I think your problem is the fact that you instance the boolean[] only in
I think your problem is the fact that you instance the boolean[] only in
the parametrized constructor. In the readFields method you should make sure
that the array has been allocated. if not you should instance an array of
length "size", as you just read from the byte stream.
On Wed, Nov 20, 2013
Hi,
Can you please confirm that the line number 45 in ClosenessMessageWritable
is as follows:
this.previous_bitstring[i] = in.readBoolean();
If its then try the following. Hopefully it will fix your problem
@Override
public void readFields(DataInput in) throws IOException {
size=in.readInt(
2013-11-20 15:46:09,202 ERROR
org.apache.giraph.utils.LogStacktraceCallable: Execution of callable failed
*java.lang.NullPointerExceptionat
org.apache.giraph.examples.ClosenessMessageWritable.readFields(ClosenessMessageWritable.java:45)*
at
org.apache.giraph.utils.ByteArrayVertexIdMessages
What is the exact error message?
On 20.11.2013 12:11, Jyoti Yadav wrote:
> Thanks Sir for your suggestions...
> I looked into the log files...
> It is showing some error at readFields() method in
> ClosenessMessageWritable.java file..You please have a look again whether
> boolean array is serializ
Thanks Sir for your suggestions...
I looked into the log files...
It is showing some error at readFields() method in
ClosenessMessageWritable.java file..You please have a look again whether
boolean array is serialized properly or not...
I am doubtful about these serialization functions..
Thanks..
It says "Failed map tasks=1", you should have a deeper look into the
logfiles or into the web console of Hadoop to find out why the map task
fails.
On 20.11.2013 11:44, Jyoti Yadav wrote:
> 13/11/20 15:56:28 INFO mapred.JobClient: Failed map tasks=1
Hi Sebastian...
problem is that while sending message in superstep 0 ,i am not able to
retrieve in superstep 1..
while running the program,program ends with the following details...
13/11/20 15:45:23 INFO job.GiraphJob: run: Tracking URL:
http://localhost:50030/jobdetails.jsp?jobid=job_201311200
Hi Jyoti,
the code looks good in general, what error do you get?
Btw, I have two students of mine implementing closeness centrality on
Giraph, if you want, I can hook you up with them, they are pretty far
with their implementation.
Best,
Sebastian
On 20.11.2013 10:13, Jyoti Yadav wrote:
> Tha
Thanks Sebastian for your reply...
All three files are shown below..
1.Main program file..
2.VertexValueWritable file.
3.MessageWritable file..
...
package org.apache.giraph.examples;
import org.a
What errors do you exactly get? Can you show the whole implementation of
your vertex?
On 20.11.2013 08:42, Jyoti Yadav wrote:
> Hi folks..
>
> I am implementing one program where I need to pass message as boolean
> array..
> While implementing my MyMessageWritable.java class,I need to define
> re
Hi folks..
I am implementing one program where I need to pass message as boolean
array..
While implementing my MyMessageWritable.java class,I need to define
readfields() and write() functions...
I tried my luck but failed...Program is compiling fine but not running...
I am taking boolean array
12 matches
Mail list logo