![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hadoop
墨汁儿
珍惜时间,活在当下,远离颠倒梦想
展开
-
There are 0 datanode(s) running and no node(s) are excluded in this operation
今天重新打开Hadoop的时候,格式化了Namenode,结果后来在上传文件到hdfs的时候出现了错误。直接百度看到有说关闭防火墙,删除/tmp/文件的。自己仔细看了一下在从节点jps没有datanode,所以是datanode没有打开,之后百度到是版本遗留问题。删除Hadoop/dfs/name/current目录即可,从节点相应删除hadoop/dfs/name/current和hadoop/原创 2017-02-24 17:53:48 · 1350 阅读 · 0 评论 -
WordCount class not found 和 FileAlreadyExistsException,运行WordCount
Assuming that: /user/joe/wordcount/input - input directory in HDFS/user/joe/wordcount/output - output directory in HDFS 上面的意思并没有要求在hdfs当中创建好output,如果创建会报出后面那些一样。 Run the application:原创 2017-02-25 16:44:22 · 551 阅读 · 0 评论 -
eclipse配置Hadoop插件
Hadoop版本为2.7.3,eclipse为 Mars.2 Release (4.5.2) 1.添加插件到plugins 网上很多博客又说添加之后在eclipse左侧就有显示hdfs的内容,但是我的eclipse重启后没有反应,查到修改配置文件当中一项可以提示eclipse加载插件。如下: 打开config.ini,把下面reconcile一项改为TRUE,之后再改回来原创 2017-03-13 16:00:22 · 293 阅读 · 0 评论