2014-12-03 68 views
0

我正在尝试在hadoop版本2.5中配置eclipse indigo中的map-reduce。我下载了hadoop 2.5源代码,并在eclipse项目中添加了所有库。在eclipse中配置hadoop 2.5

试图运行该项目,它显示以下错误error showing in eclipse

Java的路径和classpath中正确设置。请帮帮我。!!

配置cygiwn SSH必须使用eclipse map-reduce?

+1

在windows中,为兼容性配置'cygiwn'和强制配置'SSH'来强制守护进程互相通信。 – 2014-12-03 13:35:52

+0

我在cygwin中配置了ssh,但没有运气。再次发生同样的错误..! – 2014-12-04 09:35:46

+0

通过查看错误的堆栈跟踪,[This Link](http://stackoverflow.com/questions/19620642/failed-to-locate-the-winutils-binary-in-the-hadoop-binary-path)将帮你..! – 2014-12-04 13:05:55

回答

0

我不确定你要在这里做什么。如果您在eclipse中以普通的传统Java程序运行应用程序,以下内容可能会有所帮助。

Hadoop map reduce程序必须在使用SSH(PuTTY)到群集上并使用TFTP(FileZila)将.jar文件移植到群集后,使用hadoop jar命令运行程序。

Usage: hadoop jar <jar> [mainClass] args… 

如果您要调试应用程序使用java.util.logging.Logger