[ 
https://issues.apache.org/jira/browse/OOZIE-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267014#comment-13267014
 ] 

[email protected] commented on OOZIE-828:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4975/#review7489
-----------------------------------------------------------



trunk/core/src/main/java/org/apache/oozie/util/XLogStreamer.java
<https://reviews.apache.org/r/4975/#comment16587>

    This is not required as Xlogreader will close the underlying stream (In 
this case, gzipInputStrem())



trunk/core/src/main/java/org/apache/oozie/util/XLogStreamer.java
<https://reviews.apache.org/r/4975/#comment16584>

    logreader.close() will call ifs.close()..no need for both


- Virag


On 2012-05-02 23:02:50, Mona Chitnis wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/4975/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-05-02 23:02:50)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Refer to https://issues.apache.org/jira/browse/OOZIE-828
bq.  
bq.  
bq.  This addresses bug OOZIE-828.
bq.      https://issues.apache.org/jira/browse/OOZIE-828
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/src/main/java/org/apache/oozie/util/XLogStreamer.java 1326832 
bq.  
bq.  Diff: https://reviews.apache.org/r/4975/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  some end-to-end tests experiencing interruption in getting log stream from 
multiple gz files
bq.  oozie job -log <id>
bq.  
bq.  Testing with patch to see if this is the cause. In either case, these 
close statements are required.
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Mona
bq.  
bq.


                
> XLogStreamer has missing i/o stream close statements
> ----------------------------------------------------
>
>                 Key: OOZIE-828
>                 URL: https://issues.apache.org/jira/browse/OOZIE-828
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Mona Chitnis
>            Assignee: Mona Chitnis
>              Labels: oozie
>             Fix For: 3.2.0
>
>
> XLogStreamer streamLog() function has missing i/o stream close statements at 
> a couple of places. This might hamper accurate i/o of log stream.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to