[jira] Created: (WAGON-31) SSH transport hangs on large transfers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (WAGON-31) SSH transport hangs on large transfers

JIRA jira@codehaus.org
SSH transport hangs on large transfers
--------------------------------------

         Key: WAGON-31
         URL: http://jira.codehaus.org/browse/WAGON-31
     Project: wagon
        Type: Bug

    Versions: 1.0-alpha-6    
    Reporter: Mike Perham
     Fix For: 1.0-alpha-6


(1.0-alpha-6 needs to be released and a7 added as a new version)

            executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );

This code hangs when the zip is large.  The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs.  My fix?  Add "-q" to unzip's arguments so that it does not spew tons of output.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (WAGON-31) SSH transport hangs on large transfers

JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/WAGON-31?page=all ]

Brett Porter updated WAGON-31:
------------------------------

    Fix Version:     (was: 1.0-alpha-6)
                 1.0-alpha-7

> SSH transport hangs on large transfers
> --------------------------------------
>
>          Key: WAGON-31
>          URL: http://jira.codehaus.org/browse/WAGON-31
>      Project: wagon
>         Type: Bug

>     Versions: 1.0-alpha-6
>     Reporter: Mike Perham
>      Fix For: 1.0-alpha-7

>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
>             executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large.  The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs.  My fix?  Add "-q" to unzip's arguments so that it does not spew tons of output.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (WAGONSSH-36) SSH transport hangs on large transfers

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org
    [ http://jira.codehaus.org/browse/WAGONSSH-36?page=comments#action_56909 ]

Adrian commented on WAGONSSH-36:
--------------------------------

Once this has been fixed and updated will maven 2.0.2 automatically download this jar and update itself? Or, alternatively can we just replace wagon-ssh-external-1.0-alpha-6.jar with wagon-ssh-external-1.0-alpha-7.jar in our maven 2 installation lib directory?

Where is the class path set to add wagon-ssh-external-1.0-alpha-6.jar?



> SSH transport hangs on large transfers
> --------------------------------------
>
>          Key: WAGONSSH-36
>          URL: http://jira.codehaus.org/browse/WAGONSSH-36
>      Project: wagon-ssh
>         Type: Bug

>     Versions: 1.0-alpha-6
>     Reporter: Mike Perham
>      Fix For: 1.0-alpha-7

>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
>             executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large.  The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs.  My fix?  Add "-q" to unzip's arguments so that it does not spew tons of output.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (WAGONSSH-36) SSH transport hangs on large transfers

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org
    [ http://jira.codehaus.org/browse/WAGONSSH-36?page=comments#action_57082 ]

Brett Porter commented on WAGONSSH-36:
--------------------------------------

now that it is included in M2_HOME, it will need to wait until a Maven 2.0.3 release.

> SSH transport hangs on large transfers
> --------------------------------------
>
>          Key: WAGONSSH-36
>          URL: http://jira.codehaus.org/browse/WAGONSSH-36
>      Project: wagon-ssh
>         Type: Bug

>     Versions: 1.0-alpha-6
>     Reporter: Mike Perham
>      Fix For: 1.0-alpha-7

>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
>             executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large.  The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs.  My fix?  Add "-q" to unzip's arguments so that it does not spew tons of output.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (WAGONSSH-36) SSH transport hangs on large transfers

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/WAGONSSH-36?page=all ]

John Casey reassigned WAGONSSH-36:
----------------------------------

    Assign To: John Casey

> SSH transport hangs on large transfers
> --------------------------------------
>
>          Key: WAGONSSH-36
>          URL: http://jira.codehaus.org/browse/WAGONSSH-36
>      Project: wagon-ssh
>         Type: Bug

>     Versions: 1.0-alpha-6
>     Reporter: Mike Perham
>     Assignee: John Casey
>      Fix For: 1.0-alpha-7

>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
>             executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large.  The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs.  My fix?  Add "-q" to unzip's arguments so that it does not spew tons of output.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (WAGONSSH-36) SSH transport hangs on large transfers

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/WAGONSSH-36?page=all ]
     
John Casey closed WAGONSSH-36:
------------------------------

    Resolution: Fixed

fixed. Implemented proposed modification to the unzip command line.

> SSH transport hangs on large transfers
> --------------------------------------
>
>          Key: WAGONSSH-36
>          URL: http://jira.codehaus.org/browse/WAGONSSH-36
>      Project: wagon-ssh
>         Type: Bug

>     Versions: 1.0-alpha-6
>     Reporter: Mike Perham
>     Assignee: John Casey
>      Fix For: 1.0-alpha-7

>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
>             executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large.  The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs.  My fix?  Add "-q" to unzip's arguments so that it does not spew tons of output.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (WAGONSSH-36) SSH transport hangs on large transfers

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org
    [ http://jira.codehaus.org/browse/WAGONSSH-36?page=comments#action_60349 ]

Lukasz Szelag commented on WAGONSSH-36:
---------------------------------------

John, thanks for fixing this. Can you attach a patch? Thanks.

> SSH transport hangs on large transfers
> --------------------------------------
>
>          Key: WAGONSSH-36
>          URL: http://jira.codehaus.org/browse/WAGONSSH-36
>      Project: wagon-ssh
>         Type: Bug

>     Versions: 1.0-alpha-6
>     Reporter: Mike Perham
>     Assignee: John Casey
>      Fix For: 1.0-alpha-7

>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
>             executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large.  The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs.  My fix?  Add "-q" to unzip's arguments so that it does not spew tons of output.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]