hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <>
Subject [jira] Updated: (HIVE-1508) Add cleanup method to HiveHistory class
Date Wed, 08 Dec 2010 00:54:01 GMT


Namit Jain updated HIVE-1508:

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed. Thanks Edward

> Add cleanup method to HiveHistory class
> ---------------------------------------
>                 Key: HIVE-1508
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Anurag Phadke
>            Assignee: Edward Capriolo
>            Priority: Blocker
>             Fix For: 0.7.0
>         Attachments: hive-1508-1-patch.txt
> Running hive server for long time > 90 minutes results in too many open file-handles,
eventually causing the server to crash as the server runs out of file handle.
> Actual bug as described by Carl Steinbach:
> the hive_job_log_* files are created by the HiveHistory class. This class creates a PrintWriter
for writing to the file, but never closes the writer. It looks like we need to add a cleanup
method to HiveHistory that closes the PrintWriter and does any other necessary cleanup. 

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

View raw message