hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kirpichov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-1570) HBaseClient.Connection.sendParam is not synchronized, which may lead to an NPE
Date Tue, 23 Jun 2009 13:57:07 GMT
HBaseClient.Connection.sendParam is not synchronized, which may lead to an NPE
------------------------------------------------------------------------------

                 Key: HBASE-1570
                 URL: https://issues.apache.org/jira/browse/HBASE-1570
             Project: Hadoop HBase
          Issue Type: Bug
    Affects Versions: 0.19.3, 0.19.2
            Reporter: Eugene Kirpichov


Suppose that two threads are concurrently calling HBaseClient.getConnection() to an address
to which no connection has been made yet, or one existed but has been dropped due to an error.
One of the threads creates a Connection object, puts it into the 'connections' map, and there,
starts doing before connection.setupIOStreams, goes a context switch

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message