Hadoop 0.20.2 Eclipse 插件未完全正常运行 - 无法“在 Hadoop 上运行”

发布于 2024-09-26 16:25:52 字数 607 浏览 0 评论 0原文

我刚刚在 Windows 7 上使用 Eclipse Helios (3.6) 在 Cygwin 下安装了 Hadoop 0.20.2。 Hadoop 现已完全启动,我正在尝试在 Eclipse 中新创建的 MapReduce 测试项目中运行测试应用程序。我使用的是 Hadoop 下载中的 Hadoop 0.20.2 插件。

Map/Reduce Location 透视图可以正常运行,Package Explorer 中的 DFS Locations 树也可以正常运行。但是,当我右键单击该驱动程序时,选择“运行方式”>“ “在 Hadoop 上运行”,没有任何反应,控制台上也没有出现任何错误(无提示失败:()。我相信在运行之前应该出现一个对话框窗口询问配置,但这并没有发生。

似乎还有其他一些同样的问题,但我还没有找到有效的答案,我已经尝试过 0.20.1 插件(完全失败)。下面的错误报告似乎描述了我的问题,尽管我是一个新手。所有这一切,因此可以通过经验之手/声音来帮助解决:https:// issues.apache.org/jira/browse/MAPREDUCE-1280

I've just finished installing Hadoop 0.20.2 under Cygwin on Windows 7 with Eclipse Helios (3.6). Hadoop is now fully started, and I'm trying to run a test application within a newly created MapReduce test project in Eclipse. I'm using the Hadoop 0.20.2 plugin from the Hadoop download.

The Map/Reduce Location perspective operates correctly, as does DFS Locations tree in the Package Explorer. However, when I right-click the driver, select 'Run As' > 'Run on Hadoop', nothing happens and no errors spawn on the Console (silent fail :(). I believe a dialog window should appear asking for config before it runs, but this is not happening.

There seems to be a few others with the same problem, but I've yet to find an answer that works. I've tried the 0.20.1 plugin (total fail). The following bug report seems to describe my issue, though I'm a bit of a newbie to all this, so could do with a hand / voice of experience to help out: https://issues.apache.org/jira/browse/MAPREDUCE-1280

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

回眸一笑 2024-10-03 16:25:52

与 hadoop 发行版捆绑在一起的 hadoop eclipse 插件与 eclipse 兼容,最高版本为 3.3。 JIRA-ticket MAPREDUCE-1280 包含用于在 eclipse 3.4 中运行插件的补丁并向上。

我刚刚使用 JIRA-ticket MAPREDUCE-1280 中的修复程序编译了修补后的插件。该文件附在票证上。您可以在此处找到它。

只需从 eclipse 安装中删除旧插件,然后将新版本的插件放入 eclipse 安装的 dropins 文件夹中即可。

从旧版本的插件升级后,您必须使用“-clean”命令行开关启动 eclipse。有关 eclipse 命令行开关的帮助可以在此处找到。

The hadoop eclipse plugin bundled with the hadoop distribution is compatible with eclipse up to version 3.3. The JIRA-ticket MAPREDUCE-1280 contains a patch for running the plugin in eclipse 3.4 and upwards.

I just compiled the patched plugin with the fixes from the JIRA-ticket MAPREDUCE-1280. The file is attached to the ticket. You can find it here.

Simply remove the old plugin from your eclipse-installation and put the new version of the plugin into the dropins-folder of your eclipse-installation.

After upgrading from an older version of the plugin you will have to start eclipse with the "-clean" command line switch. Help on eclipse command line switches can be found here.

莫言歌 2024-10-03 16:25:52

我不知道该插件是否已更新,但据我所知,该插件在之前的几个版本中已经不再维护。

解决方案之一是您应该下载源代码并尝试重新编译该插件的jar文件(针对最新版本的eclipse),但是我没有尝试,所以不知道它是否有效。

也许您可以尝试使用 Karmasphere。

I don't know whether the plugin has been updated or not, but as far as I know, that one is out of maintenance for several previous releases.

One of the solution is that you should download the source code and try to re-compile the jar file for that plugin (for the latest version of eclipse), however I didn't try it so don't know whether it is working.

Maybe you can try to use Karmasphere.

一场春暖 2024-10-03 16:25:52

AskswOrder 是正确的,Eclipse 插件已经很长一段时间没有受到太多关注了。您引用的 JIRA 确实提供了修复程序,但它仅适用于 Hadoop 20.3 及更高版本。一种选择是尝试将补丁应用到 20.2 并重新编译,但这对新手来说要求很高。我赞同使用 Karmasphere 的建议;它是与 MapReduce 一起使用的出色产品,并且这些人已经承担了与 Hadoop 版本保持同步的工作。

askswOrder is correct that the Eclipse plugin has not seen much attention for quite a long time. The JIRA you reference does provide a fix, but it's only been applied to Hadoop 20.3 and above. One option would be to try to apply the patch to 20.2 and recompile, but that's asking quite a lot from a newbie. I'd second the suggestion to use Karmasphere; it's a great product for working with MapReduce and those gents have taken on the work of staying current with Hadoop releases.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文