Hello Arpan,
There is nothing built in to Hadoop for configuring log rotation of the .out files. These files are only written at daemon startup, and there is very little data written into these files, so there isn’t a strong reason to rotate them. If you still want to rotate them, then a possible solution would be to use external tools, such as logrotate.
http://linuxcommand.org/man_pages/logrotate8.html
Thank you,
–Chris Nauroth