Hi, Changing the hadoop jar file to a lower version solved the issue
I removed hadoop-core-1.0.3.jar from the lib folder and replaced it with hadoop-core-0.20.2.jar file Sebastian Nagel wrote > Hi, > > that's a known problem with Hadoop on Windows / Cygwin: > > https://issues.apache.org/jira/browse/HADOOP-7682 > > I don't know whether there are is a reliable fix > or a word-around but you should search for the error > - you are not alone ;-) > > Sebastian > > On 01/25/2013 12:49 PM, Revathi R wrote: >> Hello >> >> >> I am Trying to install NUTCH on windows7 >> >> I got error loke this >> >> D:\Nutch-1\apache-nutch-1.6-bin\NUTCH TEST\Nutch 1.6\win32\bin>nutch >> crawl >> "D:\Nutch-1\apache-nutch-1.6-bin\NUTCH TEST\URLs" -dir >> "D:\Nutch-1\apache-nutch-1.6-bin\NUTCH TEST\Nutch 1.6\win32\bin" >> File Not Found >> The system cannot find the file specified. >> solrUrl is not set, indexing will be skipped... >> crawl started in: D:/Nutch-1/apache-nutch-1.6-bin/NUTCH TEST/Nutch >> 1.6/win32/bin >> rootUrlDir = D:/Nutch-1/apache-nutch-1.6-bin/NUTCH TEST/URLs >> threads = 10 >> depth = 5 >> solrUrl=null >> Injector: starting at 2013-01-25 15:46:14 >> Injector: crawlDb: D:/Nutch-1/apache-nutch-1.6-bin/NUTCH TEST/Nutch >> 1.6/win32/bin/crawldb >> Injector: urlDir: D:/Nutch-1/apache-nutch-1.6-bin/NUTCH TEST/URLs >> Injector: Converting injected urls to crawl db entries. >> Exception in thread "main" java.io.IOException: Failed to set permissions >> of >> path: >> \tmp\hadoop-revathi_ramanadham\mapred\staging\revathi_ramanadham818841982\.staging >> to 0700 >> at >> org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:689) >> at org.apache.hadoop.fs.FileUtil.setPermission(FileUtil.java:662) >> at >> org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:509) >> at >> org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:344) >> at >> org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:189) >> at >> org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:116) >> at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:856) >> at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:850) >> at java.security.AccessController.doPrivileged(Native Method) >> at javax.security.auth.Subject.doAs(Subject.java:396) >> at >> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121) >> at >> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:850) >> at >> org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:824) >> at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1261) >> at org.apache.nutch.crawl.Injector.inject(Injector.java:281) >> at org.apache.nutch.crawl.Crawl.run(Crawl.java:127) >> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) >> at org.apache.nutch.crawl.Crawl.main(Crawl.java:55) >> >> >> Regards, >> Revathi R. >> >> >> >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Installation-of-NUTCH-on-windows7-tp4036210.html >> Sent from the Nutch - User mailing list archive at Nabble.com. >> -- View this message in context: http://lucene.472066.n3.nabble.com/Installation-of-NUTCH-on-windows7-tp4036210p4036404.html Sent from the Nutch - User mailing list archive at Nabble.com.