Hardcoded /tmp directory in SegmentReader
-----------------------------------------

                 Key: NUTCH-401
                 URL: http://issues.apache.org/jira/browse/NUTCH-401
             Project: Nutch
          Issue Type: Bug
    Affects Versions: 0.8.2, 0.9.0
            Reporter: Rod Taylor


Shouldn't this directory be configurable? I found it because of permission 
issues (/tmp isn't globally writable to catch stuff like this) but it seems 
that the Nutch Temp directory should be used instead.

    Path tempDir = new Path("/tmp/segread-" + new java.util.Random().nextInt());
    fs.delete(tempDir);
    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-developers mailing list
Nutch-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to