Comments (7)
This will make sure that split of both index regions and user regions are complete before the Puts are accepted and thus avoid Put failures.
from hindex.
Verified this in cluster, Its working fine. With patch no put failures and regions in transition(one odd issue with locks)
Not able to upload patch for review.
The main changes are added a hook before stepsAfterPONR
{code}
PairOfSameType regions = createDaughters(server, services);
if (this.parent.getCoprocessorHost() != null) {
this.parent.getCoprocessorHost().preSplitAfterPONR();
}
stepsAfterPONR(server, services, regions);
return regions;
{code}
Moved the code which opens index daughters and transition to znode from postSplit to new hook.
If its ok. I will commit tonight or tomorrow.
from hindex.
If things are fine, you can commit and then all will be able to see the code change from Git. Any changes can then be fixed again..
from hindex.
ok.
from hindex.
Can you just verify the history if possible, the order that is currently in the code was changed due to some bug. I don't remember it correctly. If the issue fixes the problem then no issues. Just check to verify incase any other issues hidden. Thanks for the fix
from hindex.
Ram, checked the issues related to split, we didn't try this order(index regions assignments first). Any way testing all scenarios like puts,scans during split and restart cases as well. All are fine till now.
from hindex.
committed the changes. closing this issue.
from hindex.
Related Issues (20)
- hindex write issues HOT 7
- Support secure access to the index tables HOT 2
- migrate hindex to hbase 0.96 or higher HOT 5
- deadlock in put operation HOT 3
- issues in put operation HOT 10
- how to use the index? HOT 8
- Error when compile with maven.
- How to use hindex for scanning data? HOT 20
- Steps to implement hindex to my hbase cluster HOT 6
- is there any new release based on hbase0.98.1+? HOT 3
- ERRORs in building with CDH5.1 HOT 10
- Indexing arbitrary column qualifier HOT 4
- Pending items in Arbitrary index feature
- Unify index details validation in preCreateTable and preModifyTable to allow proper indexes
- To determine the split threshold
- Perfomance about hindex in range search
- No compile document? HOT 3
- does hindex only support hbase 0.94.8?
- Your project Huawei-Hadoop hindex is using buggy third-party libraries [WARNING]
- 请求项目如何启动?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hindex.