<bdo id='yGHk7'></bdo><ul id='yGHk7'></ul>

      1. <i id='yGHk7'><tr id='yGHk7'><dt id='yGHk7'><q id='yGHk7'><span id='yGHk7'><b id='yGHk7'><form id='yGHk7'><ins id='yGHk7'></ins><ul id='yGHk7'></ul><sub id='yGHk7'></sub></form><legend id='yGHk7'></legend><bdo id='yGHk7'><pre id='yGHk7'><center id='yGHk7'></center></pre></bdo></b><th id='yGHk7'></th></span></q></dt></tr></i><div id='yGHk7'><tfoot id='yGHk7'></tfoot><dl id='yGHk7'><fieldset id='yGHk7'></fieldset></dl></div>

        <small id='yGHk7'></small><noframes id='yGHk7'>

        <legend id='yGHk7'><style id='yGHk7'><dir id='yGHk7'><q id='yGHk7'></q></dir></style></legend>
        <tfoot id='yGHk7'></tfoot>
      2. windows下hadoop中启动tasktracker的问题

        时间:2023-09-26
        1. <tfoot id='njdxV'></tfoot>
              • <bdo id='njdxV'></bdo><ul id='njdxV'></ul>
                  <tbody id='njdxV'></tbody>

                <i id='njdxV'><tr id='njdxV'><dt id='njdxV'><q id='njdxV'><span id='njdxV'><b id='njdxV'><form id='njdxV'><ins id='njdxV'></ins><ul id='njdxV'></ul><sub id='njdxV'></sub></form><legend id='njdxV'></legend><bdo id='njdxV'><pre id='njdxV'><center id='njdxV'></center></pre></bdo></b><th id='njdxV'></th></span></q></dt></tr></i><div id='njdxV'><tfoot id='njdxV'></tfoot><dl id='njdxV'><fieldset id='njdxV'></fieldset></dl></div>
                <legend id='njdxV'><style id='njdxV'><dir id='njdxV'><q id='njdxV'></q></dir></style></legend>

                  <small id='njdxV'></small><noframes id='njdxV'>

                  本文介绍了windows下hadoop中启动tasktracker的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在尝试在 windows 下使用 hadoop,但当我想启动 tasktracker 时遇到了问题.例如:

                  I am trying to use hadoop under windows and I am running into a problem when I want to start tasktracker. For example:

                  $bin/start-all.sh
                  

                  然后日志写道:

                  2011-06-08 16:32:18,157 ERROR org.apache.hadoop.mapred.TaskTracker: Can not start task tracker because java.io.IOException: Failed to set permissions of path: /tmp/hadoop-Administrator/mapred/local/taskTracker to 0755
                      at org.apache.hadoop.fs.RawLocalFileSystem.checkReturnValue(RawLocalFileSystem.java:525)
                      at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:507)
                      at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:318)
                      at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:183)
                      at org.apache.hadoop.mapred.TaskTracker.initialize(TaskTracker.java:630)
                      at org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:1328)
                      at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:3430)
                  

                  有什么问题?我该如何解决这个问题?谢谢!

                  What's the problem? How can I solve this? Thanks!

                  推荐答案

                  我在 Windows 服务器上安装 1.0.3 时遇到了这个问题.我更改了 hdfs-site.xml 中的默认目录,以便 hadoop 为 dfs 创建的目录是 cygwin 目录的子目录,如下所示...

                  I was running into this issue on an installation of 1.0.3 on Windows server. I changed the default directory in hdfs-site.xml so that the directory that hadoop creates for the dfs is a subdir of the cygwin directory like this...

                  ...

                   <property>
                      <name>dfs.name.dir</name>
                      <value>c:/cygwin/usr/mydir/dfs/logs</value>
                   </property>
                   <property>
                      <name>dfs.data.dir</name>
                      <value>c:/cygwin/usr/mydir/dfs/data</value>
                   </property>
                  </configuration>
                  

                  这似乎解决了问题.

                  配置文件的 apache 文档在这里

                  The apache documentation for the config files is here

                  这篇关于windows下hadoop中启动tasktracker的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:将外部 jar 设置为 hadoop 类路径 下一篇:在 Map reduce java 中跳过 .csv 的第一行

                  相关文章

                  最新文章

                      <tfoot id='H8KPR'></tfoot>

                    1. <small id='H8KPR'></small><noframes id='H8KPR'>

                        <bdo id='H8KPR'></bdo><ul id='H8KPR'></ul>
                      <i id='H8KPR'><tr id='H8KPR'><dt id='H8KPR'><q id='H8KPR'><span id='H8KPR'><b id='H8KPR'><form id='H8KPR'><ins id='H8KPR'></ins><ul id='H8KPR'></ul><sub id='H8KPR'></sub></form><legend id='H8KPR'></legend><bdo id='H8KPR'><pre id='H8KPR'><center id='H8KPR'></center></pre></bdo></b><th id='H8KPR'></th></span></q></dt></tr></i><div id='H8KPR'><tfoot id='H8KPR'></tfoot><dl id='H8KPR'><fieldset id='H8KPR'></fieldset></dl></div>

                    2. <legend id='H8KPR'><style id='H8KPR'><dir id='H8KPR'><q id='H8KPR'></q></dir></style></legend>