Problem starting tasktracker in hadoop under windows

后端 未结 5 1689
谎友^
谎友^ 2021-01-02 18:24

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

th

5条回答
  •  执念已碎
    2021-01-02 19:14

    There appears to be a permissions issue related to the path
    /tmp/hadoop-Administrator/mapred/local/taskTracker
    as evidenced by the error message

    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
    

    The account the taskTracker is being started under needs the ability to chmod the specified folder. It may need more control, such as being owner, for other aspects. I don't recall the specific permissions required for components in hadoop setup.

    I haven't dealt with the permission setup aspect of Hadoop much, especially on windows (at all), so what I'm saying is based heavily on the error message you've provided. I also haven't dealth with cygwin folder permission, so I don't know the solution to correct it, but hopefully this will get you pointed in the right direction.

提交回复
热议问题