Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean cache regions when something wrong. #16

Closed
fengmk2 opened this issue May 7, 2013 · 1 comment
Closed

Clean cache regions when something wrong. #16

fengmk2 opened this issue May 7, 2013 · 1 comment
Assignees
Milestone

Comments

@fengmk2
Copy link
Member

fengmk2 commented May 7, 2013

  • region offline
  • region split
  • something else.
@fengmk2
Copy link
Member Author

fengmk2 commented May 8, 2013

@天梧

可以强制在服务端下线一个region,然后就会报NotServingRegionException

目前 hbase client主动clean cache regions有2种:
1.某个region报NotServingRegionException,就会把这个region的cache清除掉
2.某台regionserver无法连接(如 socket hang up,close等),那么就会认为该regionserver挂了,
把所有与这个regionserver相关的cache都清理掉

@fengmk2 fengmk2 closed this as completed in 0e35a66 May 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant