Exception in thread "main" java.lang.IllegalArgumentException: checkClassTypes:
vertex value types not assignable, computation - class
org.apache.giraph.examples.utils.myVertexValue, VertexInputFormat - class
org.apache.hadoop.io.DoubleWritable
at
org.apache.giraph.job.GiraphConfigurationValidator.checkAssignable(GiraphConfigurationValidator.java:381)
Segments of my code
-----------------------------
1) Betweeness.java
-----------------------------
public class Betweeness
extends BasicComputation<LongWritable,myVertexValue, FloatWritable, myMessage>
{
2)myVertexValue.java
----------------------------------
public class myVertexValue implements Writable {
private long distance;
private double sigma;
....
@Override
public void readFields(DataInput input) throws IOException {
this.sigma=input.readDouble();
.....
}
hadoop ....-vif
org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat ...