hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <>
Subject [jira] Commented: (HIVE-1883) Periodic cleanup of Hive History log files.
Date Wed, 05 Jan 2011 07:17:46 GMT


Carl Steinbach commented on HIVE-1883:

I sent this to the dev list earlier:

Usually it's the Ops/IT staff that ends up managing things like a production HiveServer instance,
and in a UNIX shop I suspect that most of these folks are already going to be familiar with
using cron and logrotate ( to manage the
logs produced by their other server systems. 

Building a log rotation feature into HiveServer defies this convention and will force people
to learn how to configure a new log rotation system specific to HiveServer. It also requires
us to write, debug, document and maintain code that isn't really necessary. I think the best
approach is to take advantage of what already exists by documenting Hive's logging behavior
in the Admin manual and providing a sample logrotate configuration file.

> Periodic cleanup of Hive History log files.
> -------------------------------------------
>                 Key: HIVE-1883
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.6.0
>         Environment: Hive 0.6.0,  Hadoop 0.20.1
> SUSE Linux Enterprise Server 11 (i586)
> VERSION = 11
>            Reporter: Mohit Sikri
> After starting hive and running queries transaction history files are getting creating
in the /tmp/root folder.
> These files we should remove periodically(not all of them but) which are too old to represent
any significant information.
> Solution :-
> A scheduled timer task, which cleans up the log files older than the configured time.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message