Re: hbase replication : ERROR: Connection refused

2016-08-23 Thread Ted
thanks, that helped. It showed it was doing a subsequent call via 127.0.0.1 so I double checked all my configs to make sure I used the hostname/dns entries then it all worked. thanks. On Tue, Aug 23, 2016 at 2:11 PM, Esteban Gutierrez wrote: > Hello Ted, > > the first

Re: hbase replication : ERROR: Connection refused

2016-08-23 Thread Esteban Gutierrez
Hello Ted, the first 2 commands interact with the HBase Master and the third command needs to get the splits from Meta, probably the exception is coming from there but its can you retry the commands but this time launching the hbase shell with the -d flag? e.g. "hbase shell -d" that should give

hbase replication : ERROR: Connection refused

2016-08-23 Thread Ted
Hi I'm running hbase 1.2.1 and I'm getting an error trying to setup replication. I have 2 hbase systems running fine, I can connect from both to each other via ssh and on all ports as there's no firewall (this is just a test system). I can connect from the source to the destination ZK on port

Re: Hbase Row key lock

2016-08-23 Thread iain wright
HBase uses MVCC to deal with concurrent writes, this is a good explanation: https://blogs.apache.org/hbase/entry/apache_hbase_internals_locking_and -- Iain Wright This email message is confidential, intended only for the recipient(s) named above and may contain information that is privileged,

Re: how to abort a table replication?

2016-08-23 Thread Ted
oh if you mean : ls /hbase/replication/peers [] is all it shows It might be an error in the code though, the stacktrace says it's an unexpected error although it's only a warning (it's a very short stack trace) : 2016-08-23 10:30:57,444 INFO [main.replicationSource,vm2-SendThread(

Re: how to abort a table replication?

2016-08-23 Thread Ted Yu
Please take a look at http://hbase.apache.org/book.html#trouble.tools.builtin.zkcli On Tue, Aug 23, 2016 at 10:07 AM, Ted wrote: > the command out puts were as follows (note I originally ran them in > possibly the wrong order, I also tried re-adding the same id and

Re: how to abort a table replication?

2016-08-23 Thread Ted
oh whoops that only showed 2 of the commands, here's one showing all 3 hbase(main):011:0> disable_peer 'vm2' 0 row(s) in 0.1600 seconds hbase(main):012:0> remove_peer 'vm2' 0 row(s) in 0.0560 seconds hbase(main):013:0> disable_table_replication 'test' 0 row(s) in 0.0640

Re: how to abort a table replication?

2016-08-23 Thread Ted
the command out puts were as follows (note I originally ran them in possibly the wrong order, I also tried re-adding the same id and removing it again with no difference) hbase(main):003:0> list_peers PEER_ID CLUSTER_KEY STATE TABLE_CFS vm2 192.168.122.106:2182:/hbase ENABLED 1

Re: Hbase Row key lock

2016-08-23 Thread Manjeet Singh
Hi All, In Hbase current version what happen if two different client write the same rowkey at same time in hbase Assume if its kind of update. Does Rowkey lock Hbase server automatically deal with this? Thanks Manjeet On Wed, Aug 17, 2016 at 1:04 PM, Dima Spivak wrote: >

how to abort a table replication?

2016-08-23 Thread Ted
I'm using hbase 1.2.1 and I'm having problems aborting a table replication. I was testing replication and did an "add_peer" but I accidentally entered the wrong port number. The source server is now logging a bunch of "java.net.ConnectException: Connection refused" errors which is understandable.

Re: how to abort a table replication?

2016-08-23 Thread Ted Yu
Can you pastebin the output from the 3 commands, especially remove_peer ? Can you use 'hbase zkcli' to inspect //replication/peers ? Thanks On Tue, Aug 23, 2016 at 9:51 AM, Ted wrote: > I'm using hbase 1.2.1 and I'm having problems aborting a table replication. > > I was

Re: setMaxResultSize on Gets

2016-08-23 Thread Bryan Beaudreault
Great, thanks stack! On Tue, Aug 23, 2016 at 12:54 AM Stack wrote: > On Mon, Aug 22, 2016 at 3:02 PM, Bryan Beaudreault < > bbeaudrea...@hubspot.com > > wrote: > > > In HBase 1.2.x and higher you can call setMaxResultSize on a Scan to > limit > > the impact of scans that are