mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anbarasan Murthy <anbu992...@hotmail.com>
Subject Sequential Frequent Pattern Growth - ArrayIndexOutOfBoundsException
Date Wed, 06 Mar 2013 14:25:18 GMT
I am getting getting the following error while running sequential FP-Growth algorithm in mahout
0.7.  $ bin/mahout fpg -i testdata/fp_growth/input.txt -o testdata/fp_growth/patterns -k 10
-method sequential -regex '[ ]' -s 2
13/03/06 14:05:15 INFO fpgrowth.FPGrowth: Number of unique items 312
13/03/06 14:05:15 INFO fpgrowth.FPGrowth: Number of unique pruned items 312
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 312
        at org.apache.mahout.fpm.pfpgrowth.convertors.TransactionIterator$1.apply(TransactionIterator.java:51)
        at org.apache.mahout.fpm.pfpgrowth.convertors.TransactionIterator$1.apply(TransactionIterator.java:42)
        at com.google.common.collect.Iterators$8.next(Iterators.java:765)
        at com.google.common.collect.ForwardingIterator.next(ForwardingIterator.java:48)
        at org.apache.mahout.fpm.pfpgrowth.fpgrowth.FPGrowth.generateTopKFrequentPatterns(FPGrowth.java:290)
        at org.apache.mahout.fpm.pfpgrowth.fpgrowth.FPGrowth.generateTopKFrequentPatterns(FPGrowth.java:174)
        at org.apache.mahout.fpm.pfpgrowth.FPGrowthDriver.runFPGrowth(FPGrowthDriver.java:183)
        at org.apache.mahout.fpm.pfpgrowth.FPGrowthDriver.run(FPGrowthDriver.java:132)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.mahout.fpm.pfpgrowth.FPGrowthDriver.main(FPGrowthDriver.java:56)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
        at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
        at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:195) 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message