You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alejandro Abdelnur (Created) (JIRA)" <ji...@apache.org> on 2011/12/14 20:15:30 UTC

[jira] [Created] (OOZIE-635) ShellMain closes the STD/ERR stream while shell is processing

ShellMain closes the STD/ERR stream while shell is processing
-------------------------------------------------------------

                 Key: OOZIE-635
                 URL: https://issues.apache.org/jira/browse/OOZIE-635
             Project: Oozie
          Issue Type: Bug
            Reporter: Alejandro Abdelnur
            Assignee: Alejandro Abdelnur
            Priority: Blocker


The current logic closes the streams after starting the process without waiting for it to complete

--
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

        

[jira] [Commented] (OOZIE-635) ShellMain closes the STD/ERR stream while shell is processing

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169598#comment-13169598 ] 

jiraposter@reviews.apache.org commented on OOZIE-635:
-----------------------------------------------------


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

Review request for oozie.


Summary
-------

Changing the logic so the thread run() that consumes the STD/ERR stream closes the stream on completion, thus not having a race condition on the stream closure


This addresses bug OOZIE-635.
    https://issues.apache.org/jira/browse/OOZIE-635


Diffs
-----

  trunk/core/src/main/java/org/apache/oozie/action/hadoop/ShellMain.java 1214413 

Diff: https://reviews.apache.org/r/3200/diff


Testing
-------

related testcases pass


Thanks,

Alejandro


                
> ShellMain closes the STD/ERR stream while shell is processing
> -------------------------------------------------------------
>
>                 Key: OOZIE-635
>                 URL: https://issues.apache.org/jira/browse/OOZIE-635
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Blocker
>
> The current logic closes the streams after starting the process without waiting for it to complete

--
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

        

[jira] [Updated] (OOZIE-635) ShellMain closes the STD/ERR stream while shell is processing

Posted by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated OOZIE-635:
-------------------------------------

    Fix Version/s: 3.2.0
    
> ShellMain closes the STD/ERR stream while shell is processing
> -------------------------------------------------------------
>
>                 Key: OOZIE-635
>                 URL: https://issues.apache.org/jira/browse/OOZIE-635
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Blocker
>             Fix For: 3.2.0
>
>
> The current logic closes the streams after starting the process without waiting for it to complete

--
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

        

[jira] [Resolved] (OOZIE-635) ShellMain closes the STD/ERR stream while shell is processing

Posted by "Alejandro Abdelnur (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur resolved OOZIE-635.
--------------------------------------

    Resolution: Fixed
    
> ShellMain closes the STD/ERR stream while shell is processing
> -------------------------------------------------------------
>
>                 Key: OOZIE-635
>                 URL: https://issues.apache.org/jira/browse/OOZIE-635
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Blocker
>
> The current logic closes the streams after starting the process without waiting for it to complete

--
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

        

[jira] [Commented] (OOZIE-635) ShellMain closes the STD/ERR stream while shell is processing

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169899#comment-13169899 ] 

jiraposter@reviews.apache.org commented on OOZIE-635:
-----------------------------------------------------


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

Ship it!


+1

- Mohammad


On 2011-12-14 19:24:03, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3200/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-12-14 19:24:03)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Changing the logic so the thread run() that consumes the STD/ERR stream closes the stream on completion, thus not having a race condition on the stream closure
bq.  
bq.  
bq.  This addresses bug OOZIE-635.
bq.      https://issues.apache.org/jira/browse/OOZIE-635
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/src/main/java/org/apache/oozie/action/hadoop/ShellMain.java 1214413 
bq.  
bq.  Diff: https://reviews.apache.org/r/3200/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  related testcases pass
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> ShellMain closes the STD/ERR stream while shell is processing
> -------------------------------------------------------------
>
>                 Key: OOZIE-635
>                 URL: https://issues.apache.org/jira/browse/OOZIE-635
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Blocker
>
> The current logic closes the streams after starting the process without waiting for it to complete

--
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