Hi,
   If I had a matrix say A and I want to calculate its transpose. I assume that 
I
will have to call the init methods of both TransMap.java and TransReduce.java. 
My
calls to these methods are as under

jobConf.initJob(A.getPath(), TransposeMap.class, IntWritable.class,
MapWritable.class, jobConf);
jobConf.initJob(A.getPath(), TransposeReduce.class, jobConf);

where A is a DenseMatrix. But I am getting the following errors 

Markowitz/MarkowitzMain.java:182: cannot find symbol
symbol  : method
initJob(java.lang.String,java.lang.Class<org.apache.hama.algebra.TransposeMap>,java.lang.Class<org.apache.hadoop.io.IntWritable>,java.lang.Class<org.apache.hadoop.io.MapWritable>,org.apache.hadoop.mapred.JobConf)
location: class org.apache.hadoop.mapred.JobConf
                jobConf.initJob(eigenVectorTrans.getPath(), TransposeMap.class,
IntWritable.class, MapWritable.class, jobConf);
                       ^
Markowitz/MarkowitzMain.java:183: cannot find symbol
symbol  : method
initJob(java.lang.String,java.lang.Class<org.apache.hama.algebra.TransposeReduce>,org.apache.hadoop.mapred.JobConf)
location: class org.apache.hadoop.mapred.JobConf
                jobConf.initJob(eigenVectorTrans.getPath(),
TransposeReduce.class, jobConf);

What could be the reason for these errors ?

Best Regards from Buffalo

Abhishek Agrawal

SUNY- Buffalo
(716-435-7122)


Reply via email to