The command ("dfs.browser.action.delete") is undefined 解决Hadoop Eclipse插件报错

Hadoop Eclipse插件 报错。



使用 hadoop-eclipse-kepler-plugin-2.2.0.jar


如下所示


Error Log

强迫症看了 受不了


The command ("dfs.browser.action.delete") is undefined
The command ("dfs.browser.action.upload_dir") is undefined
The command ("dfs.browser.action.upload_files") is undefined
The command ("dfs.browser.action.mkdir") is undefined


诸如此类



解决方法:


修改Eclipse的Hadoop插件 的jar包内的 plugin.xml



<extension point="org.eclipse.ui.commands">
      <command id="dfs.browser.action.delete"
         name="Delete">
      </command>
      <command id="dfs.browser.action.disconnect"
            name="Disconnect">
      </command>
      <command id="dfs.browser.action.refresh"
            name="Refresh">
      </command>
      <command id="dfs.browser.action.download"
            name="Download from DFS">
      </command>
        <command id="dfs.browser.action.upload_files"
            name="Upload files to DFS">
      </command>
      <command id="dfs.browser.action.upload_dir"
            name="Upload directory to DFS">
      </command>
        <command id="dfs.browser.action.open"
            name="view">
      </command>
       <command id="dfs.browser.action.reconnect"
            name="Reconnect">
      </command>
      <command id="dfs.browser.action.mkdir"
            name="Create new directory">
      </command>
   </extension>      



我是 大约在172行之后 添加的



参考地址:

参考Hadoop社区大神的diff


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值