Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> under cygwin JUST tasktracker run by cyg_server user, Permission denied .....


Copy link to this message
-
Re: under cygwin JUST tasktracker run by cyg_server user, Permission denied .....
Hi,
what do you mean of cygwin is my path?
I add c:/cygwin/bin and c:/cygwin/usr/sbin to windows path...
you had this problem too? let me know how you fixed it

Thanks,
B.R

On 11/02/2011 01:29 AM, Shevek wrote:
> Smells like failure to execute chmod to me; make sure cygwin is on your
> path?
>
> On 1 November 2011 01:38, Uma Maheswara Rao G 72686<[EMAIL PROTECTED]>wrote:
>
>> Looks, that is permissions related issue on local dirs
>> There is an issue filed in mapred, related to this problem
>> https://issues.apache.org/jira/browse/MAPREDUCE-2921
>>
>> Can you please provide permissions explicitely and try?
>>
>> Regards,
>> Uma
>> ----- Original Message -----
>> From: Masoud<[EMAIL PROTECTED]>
>> Date: Tuesday, November 1, 2011 1:19 pm
>> Subject: Re: under cygwin JUST tasktracker run by cyg_server user,
>> Permission denied .....
>> To: [EMAIL PROTECTED]
>>
>>> Sure, ^^
>>>
>>> when I run {namenode -fromat} it makes dfs in c:/tmp/
>>> administrator_hadoop/....
>>> after that by running "start-all.sh" every thing is OK, all daemons
>>> run
>>> except tasktracker.
>>> My current user in administrator, but tacktracker runs by
>>> cyg_server
>>> user that made by cygwin in installation time;This is a part of log
>>> file:
>>> 2011-11-01 14:26:54,463 INFO org.apache.hadoop.mapred.TaskTracker:
>>> Starting tasktracker with owner as cyg_server
>>> 2011-11-01 14:26:54,463 INFO org.apache.hadoop.mapred.TaskTracker:
>>> Good
>>> mapred local directories are: /tmp/hadoop-cyg_server/mapred/local
>>> 2011-11-01 14:26:54,479 ERROR org.apache.hadoop.mapred.TaskTracker:
>>> Can
>>> not start task tracker because java.io.IOException: Failed to set
>>> permissions of path: \tmp\hadoop-cyg_server\mapred\local\ttprivate
>>> to 0700
>>>      at
>>> org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:680)
>>>   at org.apache.hadoop.fs.FileUtil.setPermission(FileUtil.java:653)
>>>      at
>>>
>> org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:483)
>>>      at
>>>
>> org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:318)
>>>      at
>>> org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:183)
>>>      at
>>> org.apache.hadoop.mapred.TaskTracker.initialize(TaskTracker.java:741)
>>>      at
>>> org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:1463)
>>>    at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:3611)
>>>
>>> 2011-11-01 14:26:54,479 INFO org.apache.hadoop.mapred.TaskTracker:
>>> SHUTDOWN_MSG:
>>> /************************************************************
>>>
>>>
>>> Thanks,
>>> BR.
>>>
>>> On 11/01/2011 04:33 PM, Uma Maheswara Rao G 72686 wrote:
>>>> Can you please give some trace?
>>>> ----- Original Message -----
>>>> From: Masoud<[EMAIL PROTECTED]>
>>>> Date: Tuesday, November 1, 2011 11:08 am
>>>> Subject: under cygwin JUST tasktracker run by cyg_server user,
>>> Permission denied .....
>>>> To: [EMAIL PROTECTED]
>>>>
>>>>> Hi
>>>>> I have problem in running hadoop under cygwin 1.7
>>>>> only tasktracker ran by cyg_server user and so make some problems,
>>>>> so any idea please???
>>>>>
>>>>> BS.
>>>>> Masoud.
>>>>>
>>>