Re: secondary index using coprocessors

2012-07-18 Thread Sever Fundatureanu
Hi, I also looked at your implementation. I have some issues with it but maybe someone can correct me if I'm wrong. What you're doing is writing the secondary index from the memstore in the preFlush hook. However there is no mutual exclusive lock (write lock) that is taken on the whole memstore fo

Re: secondary index using coprocessors

2012-07-05 Thread fding hbase
Sorry, I don't have much experience on unit test. The performance may not be good since this is my leisure time work, nor do I have good understanding for consistency. I really wanna help but for now it's maybe beyond my ability. I'm still digging the code of hbase too... :-) HBase is quite HUGE t

Re: secondary index using coprocessors

2012-07-05 Thread Ted Yu
The following action allows me to compile your code: 551 cp ~/hbase-indexed/src/org/apache/hadoop/hbase/regionserver/*.java src/main/java/org/apache/hadoop/hbase/regionserver/ 552 mkdir src/main/java/org/apache/hadoop/hbase/regionserver/indexed 553 cp ~/hbase-indexed/src/org/apache/hadoop

secondary index using coprocessors

2012-07-05 Thread fding hbase
Hi all, I've implemented an indexing system. It needs refinement of course but I have my own work to do, so I decided to open it for everyone to access, modify and any improvement or ideas would be great. https://github.com/danix800/hbase-indexed -- Best Regards! Fei Ding fding.chu...@gmail.c