[
https://issues.apache.org/jira/browse/MAHOUT-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Palumbo updated MAHOUT-1503:
-----------------------------------
Attachment: MAHOUT-1503.patch
Fix for testnb -seq
> TestNaiveBayesDriver fails in sequential mode
> ---------------------------------------------
>
> Key: MAHOUT-1503
> URL: https://issues.apache.org/jira/browse/MAHOUT-1503
> Project: Mahout
> Issue Type: Bug
> Components: Classification, Examples
> Affects Versions: 0.9
> Reporter: Andrew Palumbo
> Priority: Minor
> Fix For: 1.0
>
> Attachments: MAHOUT-1503.patch
>
>
> As reported by Chandler Burgess, testnb fails in sequential mode with
> exception:
> Exception in thread "main" java.io.FileNotFoundException:
> /tmp/mahout-work-andy/20news-train-vectors (Is a directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:120)
> at
> org.apache.hadoop.fs.RawLocalFileSystem$TrackingFileInputStream.<init>(RawLocalFileSystem.java:71)
> {...} at
> org.apache.mahout.classifier.naivebayes.test.TestNaiveBayesDriver.run(TestNaiveBayesDriver.java:99)
> {...}
--
This message was sent by Atlassian JIRA
(v6.2#6252)