nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Potehin" <an...@orbita1.ru>
Subject jobtaraker and tasktracker
Date Wed, 19 Apr 2006 13:27:20 GMT
Tasktracker and job t     racker are started now using hadoop-daemon.sh
file. In this file log created as displayed below:

 

log=$HADOOP_LOG_DIR/`hostname`-$command.log

.......................

nohup bin/hadoop $command "$@" >& "$log" < /dev/null &

................

 

Are there any ways to rotate these logs ?

 

It is impossible to use logrotate because after start logrotate
recording to logs files is stoped.

 

Example logrotate conf:

 

"/spider/logs/*.log" {

size=10M

create

rotate 100

missingok

nomail

compress

postrotate

endscript

}


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message