You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Bill Havanki (JIRA)" <ji...@apache.org> on 2014/03/05 15:19:43 UTC

[jira] [Created] (ACCUMULO-2429) Shell does not clean up JLine ConsoleReader, leaks threads

Bill Havanki created ACCUMULO-2429:
--------------------------------------

             Summary: Shell does not clean up JLine ConsoleReader, leaks threads
                 Key: ACCUMULO-2429
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2429
             Project: Accumulo
          Issue Type: Bug
          Components: shell
    Affects Versions: 1.5.1, 1.4.4
            Reporter: Bill Havanki
            Assignee: Bill Havanki


The shell uses the JLine {{ConsoleReader}} class. That class spawns a thread on construction (tsk-tsk) for its internal non-blocking input stream representation. If the {{ConsoleReader}} is not shut down properly, the thread keeps running. This is particularly a problem when running {{ShellServerIT}} under 1.6 and later; the JVM can run out of memory to allocate threads and fail the test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)