This has come up before<http://mail-archives.apache.org/mod_mbox/hadoop-hbase-user/200909.mbox/%3c587903.6843...@web65509.mail.ac4.yahoo.com%3e>but I'm still unclear as to whether this is possible or not: remotely connecting to an EC2 instance using the Java client library. It's not for production purposes; we have developed a DAO layer with the HBase Java API and it works great when the app lives on the same machine as HBase (e.g. our development laptops). We now want to setup a continuous build process to run our unit tests. We already have a build machine that does not live on EC2 (we had it from before). That machine is too small to run HBase, even in pseudo-distributed mode, but it can still compile the code. So the thought is to have the machine run the build and point to a remote EC2 dev instance of HBase for unit testing.
Now, I have gone though a lot of threads and posts and have opened up all required ports (I think) on EC2: 60000, 60020 and 2181 (I can telnet into them). I have one test EC2 instance running in pseudo-distributed mode to test the remote connection. I attempt to run a single unit test. From the client side, I see: [...] 2010-03-19 10:29:18,449 INFO [ClientCnxn - 869] - Attempting connection to server /184.73.xxx.yyy:2181 2010-03-19 10:29:18,496 INFO [ClientCnxn - 785] - Priming connection to java.nio.channels.SocketChannel[connected local=/192.168.1.16:55145remote=/184.73.xxx.yyy:2181] 2010-03-19 10:29:18,498 INFO [ClientCnxn - 937] - Server connection successful [...] and on the EC2 instance zookeeper logs, I see: [...] 2010-03-19 10:29:18,512 INFO org.apache.zookeeper.server.NIOServerCnxn: Connected to /71.174.www.zzz:55145 lastZxid 0 2010-03-19 10:29:18,512 INFO org.apache.zookeeper.server.NIOServerCnxn: Creating new session 0x12776cfdefd0003 2010-03-19 10:29:18,516 INFO org.apache.zookeeper.server.NIOServerCnxn: Finished init of 0x12776cfdefd0003 valid:true [...] So some connection handshake is established. Then, nothing. It just hangs. Any suggestions on where to go from here or am I fighting a losing battle? Thank you in advance for your time. -GS