You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2014/02/10 17:16:23 UTC

[jira] [Reopened] (ACCUMULO-2344) stack trace in shell when using grep

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

Keith Turner reopened ACCUMULO-2344:
------------------------------------


The interrupt status of the thread should be reset if it will not cause problems.  In the catch block, I think you can call {{Thread.currentThread().interrupt()}} to do this.

> stack trace in shell when using grep
> ------------------------------------
>
>                 Key: ACCUMULO-2344
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2344
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Adam Fuchs
>            Assignee: Josh Elser
>            Priority: Trivial
>             Fix For: 1.5.1, 1.6.0
>
>
> After getting a partial result set, I hit 'q' and got the following stack trace:
> {code}
> -------------------- hit any key to continue or 'q' to quit --------------------
> 2014-02-09 16:42:37,693 [util.UtilWaitThread] ERROR: sleep interrupted
> java.lang.InterruptedException: sleep interrupted
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.accumulo.core.util.UtilWaitThread.sleep(UtilWaitThread.java:26)
> 	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.processFailures(TabletServerBatchReaderIterator.java:310)
> 	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.access$1300(TabletServerBatchReaderIterator.java:77)
> 	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator$QueryTask.run(TabletServerBatchReaderIterator.java:400)
> 	at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> 	at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
> 	at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
> 	at java.lang.Thread.run(Thread.java:695)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)