eclipse安装hadoop插件

来源:互联网 发布:tq软件 编辑:程序博客网 时间:2024/05/18 02:04

解压hadoop1.2.1.tar.gz
在文件夹hadoop1.2.1/src/contrib/eclipse-plugin下
里面存放的是插件的源码,就是一个java项目,打包导入

不想打的话自己找jar包
hadoop-eclipse-plugin-1.2.1.jar
这里写图片描述
这里写图片描述
这里写图片描述

需要在hdfs-site.xml中增加配置

    <property>        <name>dfs.permissions</name>        <value>false</value>        <description>            If "true", enable permission checking in HDFS.            If "false", permission checking is turned off,            but all other behavior is unchanged.            Switching from one parameter value to the other does not change the mode,            owner or group of files or directories.        </description>    </property>

否则会accessdenied

0 0