Sean Broeder created TRAFODION-2125:
---------------------------------------

             Summary: ID requests timeout to idtmsrv process
                 Key: TRAFODION-2125
                 URL: https://issues.apache.org/jira/browse/TRAFODION-2125
             Project: Apache Trafodion
          Issue Type: Bug
          Components: dtm
    Affects Versions: any
            Reporter: Sean Broeder
            Assignee: Sean Broeder


>>SELECT * FROM l8view15;
 
*** ERROR[8448] Unable to access Hbase interface. Call to 
ExpHbaseInterface::scanOpen returned error HBASE_OPEN_ERROR(-704). Cause:
java.io.IOException: registerTransaction: IdTm threw exception 
org.apache.hadoop.hbase.regionserver.transactional.IdTmException: id 
threw:org.apache.hadoop.hbase.regionserver.transactional.IdTmException: ferr=40
org.apache.hadoop.hbase.client.transactional.RMInterface.registerTransaction(RMInterface.java:494)
org.apache.hadoop.hbase.client.transactional.RMInterface.registerTransaction(RMInterface.java:560)
org.apache.hadoop.hbase.client.transactional.RMInterface.getScanner(RMInterface.java:789)
org.trafodion.sql.HTableClient.startScan(HTableClient.java:1014)

The issue here is not that the request timed out as is implied by the error 40. 
 Instead the issue is that following the link request to the idtmsrv process 
XWAIT(LDONE, timeout) is called.  LDONE is returned, however the subsequent 
call to BMSG_LISTEN returns NOWORK instead of LDONE, and we never called BREAK. 
 The code then assumed the request timed out.

The fix is to test to see if NOWORK is returned from BMSG_LISTEN and then retry 
the XWAIT  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to