[ http://issues.apache.org/jira/browse/HADOOP-673?page=comments#action_12455852 ] Doug Cutting commented on HADOOP-673: -------------------------------------
We depend on cygwin only to access OS features that are not otherwise available to Java. This way we can access such features uniformly on unix and windows systems, with identical code in most places, letting cygwin figure out how to implement things on windows, rather than maintaining two implementations of each. > when I tried to resolve "/proc/self" [...] under Cygwin, I got nothing Right, that path is not a Windows path, and hence only makes sense to cygwin binaries, so it couldn't be accessed directly from Java, which only sees the Windows filesystem. It could be accessed, e.g., by running 'cat /proc/self' in a sub-process, but that would probably get the sub-process, not the parent. > the task execution environment should have a current working directory that > is task specific > -------------------------------------------------------------------------------------------- > > Key: HADOOP-673 > URL: http://issues.apache.org/jira/browse/HADOOP-673 > Project: Hadoop > Issue Type: Bug > Components: mapred > Affects Versions: 0.7.2 > Reporter: Owen O'Malley > Assigned To: Mahadev konar > Attachments: cwd.patch > > > The tasks should be run in a work directory that is specific to a single > task. In particular, I'd suggest using the <local>/jobcache/<jobid>/<taskid> > as the current working directory. -- 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