Member since
10-24-2017
3
Posts
0
Kudos Received
0
Solutions
11-07-2017
09:57 PM
I am also looking for an example which illustrate creation of a Hbase put statement corresponding to a upsert query in Phoenix which has a composite row key (primary key) similar to what is mentioned above.
If someone can give an example of that it would be great. Not sure how can I add this Zero byte character in Hbase put statement.
... View more
10-25-2017
11:05 PM
Thanks much for prompt reply. So Region server is running on port 16020. and following is the output of netstat. $ netstat -an | egrep 16020
tcp6 0 0 2.53.143.145:16020 :::* LISTEN tcp6 0 0 2.53.143.145:35036 2.53.143.145:16020 ESTABLISHED tcp6 0 0 2.53.143.145:16020 2.53.143.145:35036 ESTABLISHED
... View more
10-25-2017
01:10 PM
I am getting the same problem. Locally everything works fine. But remote connection gives same error.: Error: 10000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=pdfdg3562/2.53.143.145:16020 Note: I don't give port 16020 anytime. I just give 2181 port for zookeeper to connect to the Hbase. Also for me telnet 2.53.143.145 16020 does NOT work fine while telnet 2.53.143.145 2181 works fine. code snippet for connection: conf.set("hbase.zookeeper.quorum", "2.53.143.145"); conf.set("hbase.zookeeper.property.clientPort", "2181");
conf.set("zookeeper.znode.parent", "/hbase"); ,
I too have same problem. When I try to connect remotely. I too get the same error: 10000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=pkhukhsd237/2.53.143.145:16020 Note: for me telnet 2.53.143.145 16020 does not work while telnet 16020 2181 works fine. Configuration conf = HBaseConfiguration.create();
conf.set("hbase.zookeeper.property.clientPort", "2181");
conf.set("hbase.client.retries.number", Integer.toString(1)); conf.set("hbase.zookeeper.quorum", "2.53.143.145");
conf.set("zookeeper.znode.parent", "/hbase");
... View more