Wednesday, July 25, 2012

How to re-direct the data or logs directory in MySQL, Terracotta Cache, Job and Task Tracker logs


1) File : /etc/my.cnf
datadir=/mysql/data

2) In terracotta cache
file : tc-config.xml
, and tag

3) Hadoop logs (job tracker and task tracker)
file : /etc/hadoop/conf/mapred-site.xml
In property tag : mapred.local.dir

mapred.local.dir
/hadoop/tmplocal
Note : Restart task tracker and job tracker once you modified configuration.

No comments :

// Below script tag for SyntaxHighLighter