12/11/22 14:13:25 WARN conf.Configuration: mapred.temp.dir is deprecated. Instead, use mapreduce.cluster.temp.dir
12/11/22 14:13:25 INFO crawl.Injector: Injector: Converting injected urls to crawl db entries.
12/11/22 14:13:25 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId=
12/11/22 14:13:25 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "main" java.io.IOException: Cannot run program "cygpath": CreateProcess error=2, ϵͳÕҲ»µ½ָ¶
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at org.apache.hadoop.util.Shell.runCommand(Shell.java:201)
at org.apache.hadoop.util.Shell.run(Shell.java:183)
at org.apache.hadoop.fs.FileUtil$CygPathCommand.<init>(FileUtil.java:413)
at org.apache.hadoop.fs.FileUtil.makeShellPath(FileUtil.java:439)
at org.apache.hadoop.fs.FileUtil.makeShellPath(FileUtil.java:466)
at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:559)
at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:551)
at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:355)
at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:212)
at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:115)
at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:325)
at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1045)
at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1042)
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:1153)
at org.apache.hadoop.mapreduce.Job.submit(Job.java:1042)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:536)
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:781)
at org.apache.nutch.crawl.Injector.inject(Injector.java:278)
at org.apache.nutch.crawl.Crawl.run(Crawl.java:127)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)
at org.apache.nutch.crawl.Crawl.main(Crawl.java:55)
Caused by: java.io.IOException: CreateProcess error=2, ϵͳÕҲ»µ½ָ¶
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 23 more
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]
崩溃死了 还有谁搞过nutch啊 我eclipse里部署不上去!!
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。