mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (MAHOUT-1132) fpgrowth2 crash when have not unique items in one line
Date Sat, 01 Jun 2013 21:27:20 GMT

     [ https://issues.apache.org/jira/browse/MAHOUT-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grant Ingersoll reassigned MAHOUT-1132:
---------------------------------------

    Assignee: Grant Ingersoll
    
> 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
>            Assignee: Grant Ingersoll
>             Fix For: 0.8
>
>         Attachments: MAHOUT-1132.patch
>
>
> 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

Mime
View raw message