Faunus 0.4.2 always raising error when wrong value class

27 views
Skip to first unread message

Obin MF

unread,
Mar 24, 2014, 3:40:29 AM3/24/14
to aureliu...@googlegroups.com
When using Faunus 0.4.2 and Cassandra 1.2.9, a faunus simple operation g.V.type.groupCount always raising this error and make M/R operation failed:

java.io.IOException: wrong value class: org.apache.hadoop.io.LongWritable is not class org.apache.hadoop.io.Text
	at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java:1050)
	at org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat$1.write(SequenceFileOutputFormat.java:74)
	at org.apache.hadoop.mapreduce.lib.output.MultipleOutputs.write(MultipleOutputs.java:370)
	at org.apache.hadoop.mapreduce.lib.output.MultipleOutputs.write(MultipleOutputs.java:348)
	at com.thinkaurelius.faunus.mapreduce.util.SafeReducerOutputs.write(SafeReducerOutputs.java:31)
	at com.thinkaurelius.faunus.mapreduce.sideeffect.ValueGroupCountMapReduce$Reduce.reduce(ValueGroupCountMapReduce.java:148)
	at com.thinkaurelius.faunus.mapreduce.sideeffect.ValueGroupCountMapReduce$Reduce.reduce(ValueGroupCountMapReduce.java:129)
	at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:177)
	at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:649)
	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:418)
	at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)
	at org.apache.hadoop.mapred.Child.main(Child.java:249)

is there anybody has this issue?

Obin MF

unread,
Mar 24, 2014, 3:43:05 AM3/24/14
to aureliu...@googlegroups.com
Sorry, the title/subject should be "Faunus 0.4.2 always raising error: wrong value class"

Marko Rodriguez

unread,
Mar 24, 2014, 9:55:50 AM3/24/14
to aureliu...@googlegroups.com
Hello,

What does your faunus.properties look like? (please cut/paste)

What is the query you are trying to run?

Thanks,
Marko.
On Mar 24, 2014, at 1:43 AM, Obin MF <obi...@gmail.com> wrote:

Sorry, the title/subject should be "Faunus 0.4.2 always raising error: wrong value class"

--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Obin MF

unread,
Mar 25, 2014, 1:10:48 AM3/25/14
to aureliu...@googlegroups.com
Sorry for bothering you, please ignore my question, this is my mistake, I'm accidentally set faunus.sideeffect.output.format to org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat 
that supposed to be org.apache.hadoop.mapreduce.lib.output.TextOutputFormat

Thx btw for quick response.

--robin
Reply all
Reply to author
Forward
0 new messages