Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11374

RpcRetryingCaller#callWithoutRetries has a timeout of zero

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.98.3
    • Fix Version/s: 0.99.0, 0.98.4
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Previously, RPC multi operations had a timeout of 0, which was erroneously interpreted as infinity, and resulted in a fallback value of 2 seconds. RPC multi operations now use the value of hbase.rpc.timeout, as do other RPC operations. The default value is 60000, or 60 seconds.
      Show
      Previously, RPC multi operations had a timeout of 0, which was erroneously interpreted as infinity, and resulted in a fallback value of 2 seconds. RPC multi operations now use the value of hbase.rpc.timeout, as do other RPC operations. The default value is 60000, or 60 seconds.

      Description

      This code is called by the client on the "multi" path.
      As zero is detected as infinite value, we fallback to 2 seconds, which may not may correct.

      Typically, you can see this kind of message in the client (see the SocketTimeoutException: 2000)

      2014-08-08 17:22:43 o.a.h.h.c.AsyncProcess [INFO] #105158,
      table=rt_global_monthly_campaign_deliveries, attempt=10/35 failed 500 ops,
      last exception: java.net.SocketTimeoutException: Call to
      ip-10-201-128-23.us-west-1.compute.internal/10.201.128.23:60020 failed
      because java.net.SocketTimeoutException: 2000 millis timeout while waiting
      for channel to be ready for read. ch :
      java.nio.channels.SocketChannel[connected local=/10.248.130.152:46014
      remote=ip-10-201-128-23.us-west-1.compute.internal/10.201.128.23:60020] on
      ip-10-201-128-23.us-west-1.compute.internal,60020,1405642103651, tracking
      started Fri Aug 08 17:21:55 UTC 2014, retrying after 10043 ms, replay 500
      ops.
      

        Attachments

        1. 11374.98.v1.patch
          4 kB
          Nicolas Liochon
        2. 11374.v1.master.patch
          2 kB
          Nicolas Liochon

          Issue Links

            Activity

              People

              • Assignee:
                nkeywal Nicolas Liochon
                Reporter:
                nkeywal Nicolas Liochon
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: