zoukankan      html  css  js  c++  java
  • 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

     

  • 相关阅读:
    HDU 4552 怪盗基德的挑战书
    Qt中QUdpSocket序列化问题
    简单Qt网络通信
    QT快捷键
    Qt 程序退出时断言错误——_BLOCK_TYPE_IS_VALID(pHead->nBlockUse),由setAttribute(Qt::WA_DeleteOnClose)引起
    [转载]
    [百科]
    [百科]sys/types.h
    string.h文件中函数用法
    c++ <string.h>中包括哪些常用函数
  • 原文地址:https://www.cnblogs.com/slankka/p/9158581.html
Copyright © 2011-2022 走看看