Re: Debugging Coprocessor code in Eclipse

2012-10-16 Thread anil gupta
Hi Ram, Thanks for your reply. I'll be trying your suggestions soon with the my local standalone installation of HBase and update this thread. Thanks, Anil Gupta On Mon, Oct 15, 2012 at 12:03 AM, Ramkrishna.S.Vasudevan ramkrishna.vasude...@huawei.com wrote: Hi Anil We also do a lot of

Re: Debugging Coprocessor code in Eclipse

2012-10-16 Thread Eugeny Morozov
Anil, you could've also get some benefit from using HBaseTestingUtility. It is able to run HBase cluster in standalone mode all-in-one JVM. Of course it requires to have some code to create tables, assign coprocessor to table and populate it with data. And then run client code against it. All of

Re: Debugging Coprocessor code in Eclipse

2012-10-16 Thread anil gupta
Hi Eugeny, Thanks for another nice suggestion. Thanks, Anil On Tue, Oct 16, 2012 at 1:17 PM, Eugeny Morozov emoro...@griddynamics.comwrote: Anil, you could've also get some benefit from using HBaseTestingUtility. It is able to run HBase cluster in standalone mode all-in-one JVM. Of course

Re: Debugging Coprocessor code in Eclipse

2012-10-16 Thread yuling
Hi, I'm new to HBase and also using coprocessor...just wondering how to start HBase server in debug mode?(I'm using single node mode)... so that I can attach a remote debugger from eclipse? Thanks, YuLing

RE: Debugging Coprocessor code in Eclipse

2012-10-16 Thread Ramkrishna.S.Vasudevan
: Wednesday, October 17, 2012 2:23 AM To: user@hbase.apache.org Subject: Re: Debugging Coprocessor code in Eclipse Hi Eugeny, Thanks for another nice suggestion. Thanks, Anil On Tue, Oct 16, 2012 at 1:17 PM, Eugeny Morozov emoro...@griddynamics.comwrote: Anil, you could've also get

RE: Debugging Coprocessor code in Eclipse

2012-10-14 Thread Ramkrishna.S.Vasudevan
Hi Anil We also do a lot of stuff with coprocessors MasterObservers, RegionObservers and WALObservers. Just start your master and RS in debug mode and connect remotely from eclipse. This should be fine. Whenever the code goes to the RegionObserver or any observers automatically you will be able