报错:Invalid Hadoop Runtime specified; please click ‘Configure Hadoop install directory’ or fill in library location input field
1.问题引申
晚间测试Eclipse远程连接本机集群时,在新建Map/Reduce项目时,遇到报错:Invalid Hadoop Runtime specified; please click ‘Configure Hadoop install directory’ or fill in library location input field的error
报错原因解析:找不到hadoop安装运行环境
2.解决方法
将本机/集群所对应的hadoop文件目录解压或者拉取到windows某一目录下,如下给出演示操作时文件目录仅做参考
在Eclipse中选择:Window(窗口)->Perferencces(首选项)->Hadoop Map/Reduce
点击Browse(浏览)->再选择解压对应的文件目录配置即可
3.项目创建
了解更多知识请戳下:
@Author:懒羊羊
|