You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Masoud <ma...@agape.hanyang.ac.kr> on 2011/10/29 04:56:06 UTC
Hadoop tasktracker shutdown in CYGWIN
Hi
When i run hadoop under cygwin,except tasktracker all daemons starts well.
this is the log file error message:
ERROR org.apache.hadoop.mapred.TaskTracker: Can not start task tracker
because
java.io.IOException: Failed to set permissions of path:
\home\Administrator\software\hadoop-tmp\mapred\local\ttprivate to 0700
really i got crazy these days cause of cygwin ^^
Thanks,
B.S
Re: Hadoop tasktracker shutdown in CYGWIN
Posted by Masoud <ma...@agape.hanyang.ac.kr>.
thanks for the hint,
you mean there is no way to use cygwin 1.7 by hadoop?
how java can know the cygwin/home/...?
BS
On 10/29/2011 12:51 PM, Lance Norskog wrote:
> Cygwin has different paths- Java needs to see /cygwin/home/....
>
> Try the GnuWin32 package instead (it is on sourceforge). It is also ports of
> gnu utilities, but they live directly in DOS-land instead of making a weird
> wrapper that breaks everything.
>
> Lance
>
> On Fri, Oct 28, 2011 at 7:56 PM, Masoud<ma...@agape.hanyang.ac.kr> wrote:
>
>> Hi
>>
>> When i run hadoop under cygwin,except tasktracker all daemons starts well.
>> this is the log file error message:
>>
>> ERROR org.apache.hadoop.mapred.**TaskTracker: Can not start task tracker
>> because
>> java.io.IOException: Failed to set permissions of path:
>> \home\Administrator\software\**hadoop-tmp\mapred\local\**ttprivate to 0700
>>
>> really i got crazy these days cause of cygwin ^^
>>
>> Thanks,
>> B.S
>>
>
>
Re: Hadoop tasktracker shutdown in CYGWIN
Posted by Lance Norskog <go...@gmail.com>.
Cygwin has different paths- Java needs to see /cygwin/home/....
Try the GnuWin32 package instead (it is on sourceforge). It is also ports of
gnu utilities, but they live directly in DOS-land instead of making a weird
wrapper that breaks everything.
Lance
On Fri, Oct 28, 2011 at 7:56 PM, Masoud <ma...@agape.hanyang.ac.kr> wrote:
> Hi
>
> When i run hadoop under cygwin,except tasktracker all daemons starts well.
> this is the log file error message:
>
> ERROR org.apache.hadoop.mapred.**TaskTracker: Can not start task tracker
> because
> java.io.IOException: Failed to set permissions of path:
> \home\Administrator\software\**hadoop-tmp\mapred\local\**ttprivate to 0700
>
> really i got crazy these days cause of cygwin ^^
>
> Thanks,
> B.S
>
--
Lance Norskog
goksron@gmail.com