hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Failed to set permissions of path... staging to 0700 on Windows slave build
Date Fri, 11 Jan 2013 00:09:26 GMT
Hi All,

Occasionally we get users wanting to use Nutch on Windows boxes so I
thought it best to add some nightly builds for Nutch on Jenkins [0][1].

Initial results are that some tests fail. All with the following stack. Can
anyone suggest a quick script for me to add to the pre-build to set correct
permissions for the build?

Thank you very much in advance.

Lewis

java.io.IOException: Failed to set permissions of path:
\tmp\hadoop-hudson\mapred\staging\hudson1580335366\.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:918)
	at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:912)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1136)
	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:912)
	at org.apache.hadoop.mapreduce.Job.submit(Job.java:500)
	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:530)
	at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:50)
	at org.apache.nutch.crawl.GeneratorJob.run(GeneratorJob.java:191)
	at org.apache.nutch.crawl.GeneratorJob.generate(GeneratorJob.java:213)
	at org.apache.nutch.crawl.TestGenerator.generateFetchlist(TestGenerator.java:258)
	at org.apache.nutch.crawl.TestGenerator.testFilter(TestGenerator.java:228)



[0] https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-2.x-Windows/
[1] https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-trunk-Windows/

-- 
*Lewis*

Mime
View raw message