Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.6.0
-
None
-
Hadoop 0.20.1, Hive0.6.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
-
Reviewed
-
In Driver -> "close()" closed the resStream and FetchTask.
Description
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 (resultSet.next()) { System.out.println(resultSet.getString(1)+" "+resultSet.getString(2)); }
Command used for checking the filehandlers
lsof -p {hive_process_id} > runjarlsof.txt