Coder Social home page Coder Social logo

Comments (3)

timoha avatar timoha commented on August 17, 2024 1

@LG991103 you have to use context with deadine/timeout if you want your requests to exit without retrying forever. It's not stuck, the default behavior is to retry forever until the request goes through to regionserver (it becomes available and starts accepting the requests for that region you are trying to send to).

The 10 times retry is only for unrecoverable cases where we can't determine which region to send the request to. So maybe zookeeper missing the state, or maybe master is down and haven't updated zookeeper for a while. Pretty much if you are getting ErrCannotFindRegion, hbase operator needs to go in an see if everything is healthy with the cluster.

from gohbase.

LG991103 avatar LG991103 commented on August 17, 2024

image

from gohbase.

dethi avatar dethi commented on August 17, 2024

Indeed there is 2 levels of retries here. The first one getRegionForRpc that will try 10 times and the second one in lookupRegion that just exponentially retry forever. They do have different purpose. I will have to dig more.

from gohbase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.