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

Alexey Kuznetsov commented on IGNITE-12192:
-------------------------------------------

[~sdarlington] After looking around, I found this issue: "Customizable Ctrl-D 
handling #201" https://github.com/jline/jline2/issues/201
There 2 possible workarounds: 
 1. Handle EOFException (see org.apache.ignite.visor.visor#readLineOpt)
 2. Update to jline3. Current version is jline 2.12.1 (may help without fixing 
code, but may be incompatible with VisorCmd current code)

> visorcmd hangs if you ^D to quit
> --------------------------------
>
>                 Key: IGNITE-12192
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12192
>             Project: Ignite
>          Issue Type: Bug
>          Components: visor
>    Affects Versions: 2.7.5
>            Reporter: Stephen Darlington
>            Assignee: Stephen Darlington
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> You can exit most Unix utilities by pressing ^D. However, if you do that in 
> ignitevisorcmd when you're connected to a cluster, the process hangs. You 
> have to press ^C to quit. (It does work as expected if you close the 
> connection first.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to