hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinna Rao Lalam (JIRA)" <>
Subject [jira] Created: (HIVE-1908) FileHandler leak on partial iteration of the resultset.
Date Tue, 11 Jan 2011 10:39:46 GMT
FileHandler leak on partial iteration of the resultset. 

                 Key: HIVE-1908
             Project: Hive
          Issue Type: Bug
          Components: Server Infrastructure
    Affects Versions: 0.6.0
         Environment: Hadoop 0.20.1, Hive0.6.0 and SUSE Linux Enterprise Server 10 SP2 (i586)
- Kernel (5).
            Reporter: Chinna Rao Lalam

If the "resultset" is not iterated completely ,  one filehandler is leaking

Ex: We need only first row. This case one resource is leaking


ResultSet resultSet = createStatement.executeQuery("select * from sampletable");

if (
	System.out.println(resultSet.getString(1)+"   "+resultSet.getString(2));


Command used for checking the filehandlers
lsof -p {hive_process_id} > runjarlsof.txt

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

View raw message