hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen O'Malley <omal...@apache.org>
Subject Re: datanode but not tasktracker
Date Wed, 01 Apr 2009 20:30:44 GMT

On Apr 1, 2009, at 12:58 AM, Sandhya E wrote:

> Hi
>
> When the host is listed in slaves file both DataNode and TaskTracker
> are started on that host. Is there a way in which we can configure a
> node to be datanode and not tasktracker.

If you use hadoop-daemons.sh, you can pass a host list. So do:

ssh namenode hadoop-daemon.sh start namenode
ssh jobtracker hadoop-daemon.sh start jobtracker
hadoop-daemons.sh -hosts dfs.slaves start datanode
hadoop-daemons.hs -hosts mapred.slaves start tasktracker

-- Owen

Mime
View raw message