/tmp/hadoop-${user.name} interpreted wrong when using Cygwin

2007-11-02 Thread Holger Stenzhorn
Hi, Well, this is really a minor point... I am using Hadoop under Cygwin with the default settings. So hence the hadoop.tmp.dir is set to /tmp/hadoop-${user.name} via the hadoop-default.xml. Now when I start using Hadoop it creates a directory c:\tmp\hadoop-holste (as holste is my user name

Re: /tmp/hadoop-${user.name} interpreted wrong when using Cygwin

2007-11-02 Thread Doug Cutting
Holger Stenzhorn wrote: I am using Hadoop under Cygwin with the default settings. So hence the hadoop.tmp.dir is set to /tmp/hadoop-${user.name} via the hadoop-default.xml. Now when I start using Hadoop it creates a directory c:\tmp\hadoop-holste (as holste is my user name obviously). But

Re: /tmp/hadoop-${user.name} interpreted wrong when using Cygwin

2007-11-02 Thread Holger Stenzhorn
That is totally true indeed. ...but you couldn't you use a little hack to the hadoop script and the org.apache.hadoop.fs.Path class? (Sorry, this is just sketchy but gives the idea...) ...in hadoop you would add: cygwin=false case `uname` in CYGWIN*) cygwin=true;; esac ... if $cygwin;