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

Time limit of scanning should be offered by client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0, 1.1.4
    • 1.3.0, 2.0.0
    • None
    • None
    • Reviewed
    • Hide
      Add a new configuration: hbase.ipc.min.client.request.timeout
      Minimum allowable timeout (in milliseconds) in rpc request's header. This configuration exists to prevent the rpc service regarding this request as timeout immediately.
      Show
      Add a new configuration: hbase.ipc.min.client.request.timeout Minimum allowable timeout (in milliseconds) in rpc request's header. This configuration exists to prevent the rpc service regarding this request as timeout immediately.

    Description

      In RSRpcServices.scan, we will set a time limit equaling to Math.min(scannerLeaseTimeoutPeriod, rpcTimeout) / 2, and will response heartbeat message if we reach this limit. However, two timeout settings (hbase.client.scanner.timeout.period and hbase.rpc.timeout) are read from RS's configure, which may be different from client's. If client's setting is much less than server's, there may still be timeout at client side.

      Attachments

        1. HBASE-15593-v8.patch
          26 kB
          Phil Yang
        2. HBASE-15593-v7.patch
          26 kB
          Phil Yang
        3. HBASE-15593-v6.patch
          26 kB
          Phil Yang
        4. HBASE-15593-v5.patch
          26 kB
          Phil Yang
        5. HBASE-15593-v4.patch
          26 kB
          Phil Yang
        6. HBASE-15593-v3.patch
          26 kB
          Phil Yang
        7. HBASE-15593-v2.patch
          26 kB
          Phil Yang
        8. HBASE-15593-v1.patch
          26 kB
          Phil Yang
        9. HBASE-15593-branch-1-v3.patch
          26 kB
          Phil Yang
        10. HBASE-15593-branch-1-v2.patch
          26 kB
          Phil Yang
        11. HBASE-15593-branch-1-v1.patch
          26 kB
          Phil Yang
        12. HBASE-15593-branch-1.2-v3.patch
          26 kB
          Phil Yang
        13. HBASE-15593-branch-1.2-v2.patch
          26 kB
          Phil Yang
        14. HBASE-15593-branch-1.2-v1.patch
          26 kB
          Phil Yang
        15. HBASE-15593-branch-1.1-v3.patch
          26 kB
          Phil Yang
        16. HBASE-15593-branch-1.1-v2.patch
          26 kB
          Phil Yang
        17. HBASE-15593-branch-1.1-v1.patch
          26 kB
          Phil Yang

        Issue Links

          Activity

            People

              yangzhe1991 Phil Yang
              yangzhe1991 Phil Yang
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: