You should modify /etc/rc.d and /etc/init.d to run hadoop-daemon.sh. This has very little to do with hadoop. It is just basic system administration.
On 10/1/07 1:37 AM, "贺齐" <[EMAIL PROTECTED]> wrote: > Hi, ted Thank you! The hadoop documents does not tell us how to > configure these settings, which file should I moidfy? hadoop-site.xml > or hadoop-default.xml 2007/10/1, Ted Dunning <[EMAIL PROTECTED]>: > > You > > can easily configure the node to restart the datanode and tasktracker > > programs. You should also configure the corresponding shutdown tasks.