开发者社区> 问答> 正文

java eclipse 里运行nutch的错误 是什么意思

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

展开
收起
爵霸 2016-06-08 10:11:26 2829 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
Spring Cloud Alibaba - 重新定义 Java Cloud-Native 立即下载
The Reactive Cloud Native Arch 立即下载
JAVA开发手册1.5.0 立即下载