hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harshit Kumar <hkumar.ar...@gmail.com>
Subject Re: attempt_201001221636_0001_m_000003_0, Status : FAILED java.io.FileNotFoundException:
Date Fri, 22 Jan 2010 08:48:59 GMT
I have just updated to cygwin 1.7 and if I try to format the namenode, i get
the following warning by cygwin.

$ bin/hadoop namenode -format
cygwin warning:
  MS-DOS style path detected: C:\cygwin\home\bike\HADOOP~1.2\/build/native
  Preferred POSIX equivalent is: /home/bike/HADOOP~1.2/build/native
  CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
10/01/22 17:40:59 INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG:   host = bike-3da7ab8ed1/147.46.166.184
STARTUP_MSG:   args = [-format]
STARTUP_MSG:   version = 0.19.2
STARTUP_MSG:   build =
https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.19 -r
789657; compiled by 'root' on Tue Jun 30 12:40:50 EDT 2009
************************************************************/
Re-format filesystem in \tmp\hadoop-bike\dfs\name ? (Y or N)



---------------------------

Just wondering, is it possible that the error is because namenode format it
according to windows namespace so hadoop cannot find /work/temp folder?

would like to hear some feedback from the community

thanks
H. Kumar



2010/1/22 Harshit Kumar <hkumar.arora@gmail.com>

> Hi
>
> I will appreciate if someone can help resolve the following error. i am
> going nuts over this.
>
> $ bin/hadoop jar sparqlcloud.jar org.bike.MainClass
> 10/01/22 16:38:27 WARN mapred.JobClient: Use GenericOptionsParser for
> parsing the arguments. Applications should implement Tool for the same.
> 10/01/22 16:38:27 INFO mapred.FileInputFormat: Total input paths to process
> : 1
> 10/01/22 16:38:28 INFO mapred.JobClient: Running job: job_201001221636_0001
> 10/01/22 16:38:29 INFO mapred.JobClient:  map 0% reduce 0%
> 10/01/22 16:38:37 INFO mapred.JobClient: Task Id :
> attempt_201001221636_0001_m_000003_0, Status : FAILED
> *java.io.FileNotFoundException: File
> C:/tmp/hadoop-SYSTEM/mapred/local/taskTracker/jobcache/job_201001221636_0001/attempt_201001221636_0001_m_000003_0/work/tmp
> does not exist.*
>         at
> org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:420)
>         at
> org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:244)
>         at
> org.apache.hadoop.mapred.TaskRunner.setupWorkDir(TaskRunner.java:520)
>         at org.apache.hadoop.mapred.Child.main(Child.java:143)
>
>
> ===============
>  working under CYGWIN and using hadoop-0.19.2
>
> I have tried the following solutions,
> 1. bin/hadoop fsck / - output - The file system under / is healthy
> 2. formatted the hdfs bin/hadoop namenode -format - but error does not go.
> 3. change the value tmp.dir property in conf/hadoop-default.xml to some
> other directory but still the error doesnot go.
>
> I will appreciate if some one can help resolve the error.
>
>
> Thanks
> H. Kumar
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message