Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2125

ID requests timeout to idtmsrv process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • any
    • None
    • dtm
    • None

    Description

      >>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

      Attachments

        Issue Links

          Activity

            People

              sbroeder Sean Broeder
              sbroeder Sean Broeder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: