What are the permissions on \tmp\hadoop-cyg_server\mapred\local\ttprivate? Which user owns that directory?
Which user are you starting you TaskTracker as? -Joey On Wed, Nov 2, 2011 at 9:29 PM, Masoud <[email protected]> wrote: > Hi, > > Im running hadop 0.20.204 under cygwin 1.7 on Win7, java 1.6.22 > i got this error: > > 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 * > I tried different ways, i even setted {hadoop.tmp.dir} to the cygwin home > dir too, got same result, > the problem is that JAVA using windows path and file permission to create > HDFS, and i think > under cygwin by simulating Linux behaviour Hadoop can not change the windows > permission to > Linux permission for mentioned folder in error message, > Maybe its a bug and should fixed in source code., > > Any idea please..... > > Thanks, > Masoud. > > On 11/01/2011 08:12 PM, Rita wrote: >> >> Why ? >> >> The beauty of hadoop is its OS agnostic. What is your native operating >> system? I am sure you have a version of JDK and JRE running there. >> >> >> On Tue, Nov 1, 2011 at 4:53 AM, Masoud<[email protected]> wrote: >> >>> Hi >>> >>> Anybody ran hadoop on cygwin for development purpose??? >>> Did you have any problem in running tasktracker? >>> >>> Thanks >>> >> >> > > -- Joseph Echeverria Cloudera, Inc. 443.305.9434
