You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2006/11/14 13:26:38 UTC
[jira] Closed: (NUTCH-401) Hardcoded /tmp directory in
SegmentReader
[ http://issues.apache.org/jira/browse/NUTCH-401?page=all ]
Andrzej Bialecki closed NUTCH-401.
-----------------------------------
Fix Version/s: 0.8.2
0.9.0
Resolution: Fixed
Fixed in trunk (using hadoop.tmp.dir) and branch-0.8 (using mapred.temp.dir, because hadoop.tmp.dir didn't exist yet). Thanks Rod for spotting this!
> 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
> Fix For: 0.8.2, 0.9.0
>
>
> 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