You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by pzhang <pz...@sandia.gov> on 2014/01/15 19:48:48 UTC

seqdirectory error on mapreduce

My set-ups seems work well:
$hadoop fs –copyFromLocal reuters_text reuters_text
$hadoop fs –ls reuters_text/
                Many files in the directory
                
$mahout seqdirectory –i reuters_text –o reuters_seq –c UTF-8

                reuters_seq directory generated but empty

mapreduce job was failed with the message:

14/01/15 11:27:36 INFO mapreduce.Job: Task Id :
attempt_1389802273858_0007_m_000001_2, Status : FAILED
Error: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
                at
org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader.initNextRecordReader(CombineFileRecordReader.java:164)
              at
org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader.<init>(CombineFileRecordReader.java:126)
                at
org.apache.mahout.text.MultipleTextFileInputFormat.createRecordReader(MultipleTextFileInputFormat.java:43)
                at
org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.<init>(MapTask.java:491)
                at
org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:734)
                at org.apache.hadoop.mapred.MapTask.run(MapTask.java:339)
                at
org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:162)
                at java.security.AccessController.doPrivileged(Native
Method)
                at javax.security.auth.Subject.doAs(Subject.java:416)
                at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
                at
org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:157)
Caused by: java.lang.reflect.InvocationTargetException
                at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
                at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                at
java.lang.reflect.Constructor.newInstance(Constructor.java:534)
                at
org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader.initNextRecordReader(CombineFileRecordReader.java:155)
                ... 10 more
Caused by: java.lang.IncompatibleClassChangeError: Found interface

Some suggestions?
                
I am running hadoop2.2.0, mahout 0.8.

Thanks.

Pengchu




--
View this message in context: http://lucene.472066.n3.nabble.com/seqdirectory-error-on-mapreduce-tp4111508.html
Sent from the Mahout User List mailing list archive at Nabble.com.