Problem starting tasktracker in hadoop under windows

后端 未结 5 1690
谎友^
谎友^ 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条回答
  •  Happy的楠姐
    2021-01-02 18:54

    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...

    ...

     
        dfs.name.dir
        c:/cygwin/usr/mydir/dfs/logs
     
     
        dfs.data.dir
        c:/cygwin/usr/mydir/dfs/data
     
    
    

    This seemed to resolve the problem.

    The apache documentation for the config files is here

提交回复
热议问题