3
回答
java eclipse 里运行nutch的错误 是什么意思
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

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里部署不上去!!

举报
stevenliu
发帖于5年前 3回/2K+阅
顶部