[ 
https://issues.apache.org/jira/browse/HIVE-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836471#action_12836471
 ] 

Zheng Shao commented on HIVE-1185:
----------------------------------

Unfortunately it does not compile with hadoop 0.17.

Can you add "IOUtils.cleanup" to shims?

{code}
    [javac] Compiling 22 source files to 
/data/users/zshao/hadoop_hive_trunk/build/ql/classes
    [javac] 
/data/users/zshao/hadoop_hive_trunk/ql/src/java/org/apache/hadoop/hive/ql/io/RCFile.java:988:
 cannot find symbol
    [javac] symbol  : method 
cleanup(org.apache.commons.logging.Log,org.apache.hadoop.fs.FSDataInputStream)
    [javac] location: class org.apache.hadoop.io.IOUtils
    [javac]           IOUtils.cleanup(LOG, in);
{code}


> Fix RCFile resource leak when opening a non-RCFile
> --------------------------------------------------
>
>                 Key: HIVE-1185
>                 URL: https://issues.apache.org/jira/browse/HIVE-1185
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.5.0, 0.6.0
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>             Fix For: 0.5.0, 0.6.0
>
>         Attachments: hive-1185.1.patch
>
>
> See HADOOP-5476 for the bug in SequenceFile. We should do the same thing in 
> RCFile.

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

Reply via email to