You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Kirill A. Korinskiy (JIRA)" <ji...@apache.org> on 2012/12/30 10:32:12 UTC

[jira] [Created] (MAHOUT-1132) fpgrowth2 crash when have not unique items in one line

Kirill A. Korinskiy created MAHOUT-1132:
-------------------------------------------

             Summary: fpgrowth2 crash when have not unique items in one line
                 Key: MAHOUT-1132
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1132
             Project: Mahout
          Issue Type: Bug
            Reporter: Kirill A. Korinskiy


I create follow file as input for fpgrowth2:
{{0, 0, 0
0, 0, 0
0, 0, 0}}

and when I run {{./bin/mahout -i kv -o output -2 --mathod mapreduct}} I take a crash:
{{java.lang.IllegalStateException: mismatched counts for targetAttr=0, (3 != 9); thisTree=[FPTree
  -{attr:-1, cnt:0}-1->-{attr:0, cnt:3}
]

	at org.apache.mahout.fpm.pfpgrowth.fpgrowth2.FPTree.createMoreFreqConditionalTree(FPTree.java:259)
	at org.apache.mahout.fpm.pfpgrowth.fpgrowth2.FPGrowthIds.growth(FPGrowthIds.java:238)
	at org.apache.mahout.fpm.pfpgrowth.fpgrowth2.FPGrowthIds.fpGrowth(FPGrowthIds.java:163)
	at org.apache.mahout.fpm.pfpgrowth.fpgrowth2.FPGrowthIds.generateTopKFrequentPatterns(FPGrowthIds.java:220)
	at org.apache.mahout.fpm.pfpgrowth.fpgrowth2.FPGrowthIds.generateTopKFrequentPatterns(FPGrowthIds.java:115)
	at org.apache.mahout.fpm.pfpgrowth.ParallelFPGrowthReducer.reduce(ParallelFPGrowthReducer.java:99)
	at org.apache.mahout.fpm.pfpgrowth.ParallelFPGrowthReducer.reduce(ParallelFPGrowthReducer.java:48)
	at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:176)
	at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:649)
	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:260)}}

Follow patch fix it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira