[ 
https://issues.apache.org/jira/browse/MAHOUT-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672306#comment-13672306
 ] 

Hudson commented on MAHOUT-1132:
--------------------------------

Integrated in Mahout-Quality #2027 (See 
[https://builds.apache.org/job/Mahout-Quality/2027/])
    MAHOUT-1132: handle unique items in one line (Revision 1488615)

     Result = SUCCESS
gsingers : 
Files : 
* 
/mahout/trunk/core/src/main/java/org/apache/mahout/fpm/pfpgrowth/ParallelCountingMapper.java
* 
/mahout/trunk/core/src/test/java/org/apache/mahout/fpm/pfpgrowth/PFPGrowthTest.java
* 
/mahout/trunk/core/src/test/java/org/apache/mahout/fpm/pfpgrowth/PFPGrowthTest2.java

                
> 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

Reply via email to