Insert and query HBase speeds are slower

Surface problem: Inserting and querying HBase is slower

Check the HBase node status and find that it is running normally:

Share picture

Check the status of accessing the HBase service and find that the service is stopped:

< img alt="Share a picture" src="/wp-content/uploads/images/opensource/hadoop/1626813351136.png" >

Click on the service instance in turn to view the service status

Share pictures

Services on nodes 133 and 135 have been stopped

< p> Share pictures

Services on the 134 node Normal operation

Deep problem diagnosis: The HBase access service of two of the three nodes stopped, but Eureka did not remove the stopped service from the service list, resulting in the request still being sent to the stopped service Service;

Solution: Configure the Hystrix circuit breaker service. When the request to the business service times out, Hystrix will remove the business service from the Eureka service list, and the new request will not be sent to the business again Service;

Leave a Comment

Your email address will not be published.