karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Pieber (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-2131) Command output should be output immediately (not buffered) when using SSH client
Date Sat, 19 Jan 2013 05:46:12 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Pieber updated KARAF-2131:
----------------------------------

    Issue Type: Improvement  (was: Bug)
    
> Command output should be output immediately (not buffered) when using SSH client
> --------------------------------------------------------------------------------
>
>                 Key: KARAF-2131
>                 URL: https://issues.apache.org/jira/browse/KARAF-2131
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>    Affects Versions: 2.3.0
>         Environment: $ uname -a
> Linux * 3.2.13-grsec-xxxx-grs-ipv6-64 #1 SMP Thu Mar 29 09:48:59 UTC 2012 x86_64 x86_64
x86_64 GNU/Linux
> $ java -version
> java version "1.7.0_11"
> Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
> Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
>            Reporter: Hendy Irawan
>
> When running a long command directly on the shell, output is immediate.
> However, when connecting using SSH (using Linux OpenSSH client), output seems to be buffered.
So there's no output before command is completed or SSH connection is closed.
> Same behavior when using Karaf's own client (bin/client). So this needs to be fixed on
the server-side.
> For example:
> {code}
> karaf_stg@luna2:~/karaf_template$ ssh -p 8122 karaf@localhost features:install -v -c
soluvas-framework
> ..................... <-- looong time of silence here, then:
> Installing feature soluvas-framework 2.0.0-SNAPSHOT
> Installing feature soluvas-deps 2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.mongo/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.commons/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.json/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.async/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.cdi/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.data/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.push/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.jaxrs/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.security/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.facebook/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.ldap/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.image/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.social/2.0.0-SNAPSHOT
> Installing bundle mvn:org.soluvas/org.soluvas.social.shell/2.0.0-SNAPSHOT
> ^^^^^ these lines are outputted all at once, after the command finishes, then the SSH
connection is closed
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message