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

Benson Margulies resolved MAHOUT-234.
-------------------------------------

    Resolution: Invalid

This was Robin & me stepping on each other.


> permission denied error on unit test on clean tree on linux
> -----------------------------------------------------------
>
>                 Key: MAHOUT-234
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-234
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Benson Margulies
>
> -------------------------------------------------------------------------------
> Test set: org.apache.mahout.classifier.bayes.BayesFileFormatterTest
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.041 sec <<< 
> FAILURE!
> testCollapse(org.apache.mahout.classifier.bayes.BayesFileFormatterTest)  Time 
> elapsed: 0.007 sec  <<< ERROR!
> java.io.FileNotFoundException: /tmp/bayes/input/dog (Permission denied)
>         at java.io.FileOutputStream.open(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>         at 
> org.apache.mahout.classifier.bayes.BayesFileFormatterTest.setUp(BayesFileFormatterTest.java:59)
>         at junit.framework.TestCase.runBare(TestCase.java:132)
>         at junit.framework.TestResult$1.protect(TestResult.java:110)
>         at junit.framework.TestResult.runProtected(TestResult.java:128)
>         at junit.framework.TestResult.run(TestResult.java:113)
>         at junit.framework.TestCase.run(TestCase.java:124)
>         at junit.framework.TestSuite.runTest(TestSuite.java:232)
>         at junit.framework.TestSuite.run(TestSuite.java:227)
>         at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>         at 
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>         at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
>         at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to