hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jay (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-22821) The application get stuck when put data to hbase table
Date Thu, 08 Aug 2019 13:32:00 GMT
jay created HBASE-22821:
---------------------------

             Summary: The application get stuck when put data to hbase table
                 Key: HBASE-22821
                 URL: https://issues.apache.org/jira/browse/HBASE-22821
             Project: HBase
          Issue Type: Test
          Components: Client
    Affects Versions: 1.0.0
            Reporter: jay


About several days ago, I found one issue that the application get stuck when I put data to
hbase. When I check the log, I found 2 question, one is like

" #22349, waiting for some tasks to finish. Expected max=0, tasksInProgress=76" and "WARN
- #22348, not sent: 1 operations, node1,60020,1529589908290" followed by java.lang.InterruptedException:
sleep interrupted, and I did not find any another exception. I don not know why it get stuck.
Is it deadlock? And another question is why the "sleep interrupted" exception happened? See
the following code:

try {
Thread.sleep(backOffTime);
} catch (InterruptedException e) {
LOG.warn("#" + id + ", not sent: " + toReplay.size() + " operations, " + oldServer, e);
Thread.currentThread().interrupt();
return;
}

As fa as I know, the InterruptedException will happen only when the thead is called interrupt()
method or the pool which the thead belongs is shutdown. But I searched the all the code of
the project, I did not find any interrupt() method. And I think it is impossible that the
pool is shut down before the thread finish. So anybody can help me solve this issue?



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message