Member since
04-23-2021
3
Posts
0
Kudos Received
0
Solutions
05-11-2021
08:31 AM
In the Cloudera support document, port 16020 on HBbase region server list with "IPC", thus I understand the connection is not an established network applications such as "HTTPS" or "SSH". Our network team is reviewing the KB and decide what to do. I am surprised that this issue has not been surfaced before, since lots of companies using Palo Alto products.
... View more
05-10-2021
11:15 AM
Finally found out what's causing my problem. My company's firewall block the traffic from the tomcat server to port 16020 on all region servers since they are on different subnets. The Palo Alto firewall consider this kind of connection is "unknown_tcp". Can it be changed?
... View more
04-23-2021
03:37 PM
I have a Spring boot application using HBase Java client, version 2.1.0-cdh6.1.1, connect to a Hbase with kerberos. When running a tomcat instance in our server, a simple query could take 5 minutes to complete and timeout found in log file. I can't find out what's wrong. Connection configuration: config.set("hbase.zookeeper.quorum", quorum);
config.set("hbase.zookeeper.clientPort", "2181");
config.set("hadoop.security.authentication", "kerberos");
config.set("hbase.security.authentication", "kerberos");
config.set("hbase.cluster.distributed", "true");
config.set("hbase.rpc.protection", "privacy");
config.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@mycompany.com");
config.set("hbase.master.kerberos.principal", "hbase/_HOST@mycompany.com");
config.set("hbase.client.retries.number", "3");
config.set("hbase.client.pause", "500");
config.set("zookeeper.recovery.retry", "1"); System.setProperty("java.security.krb5.conf",ResourceUtils.getFile("classpath:krb5.conf").getPath());
File file = ResourceUtils.getFile(keytabFileLocation);
UserGroupInformation.setConfiguration(config);
UserGroupInformation.loginUserFromKeytab(userIdEmail, file.getPath());
Connection conn = ConnectionFactory.createConnection(config); here is a one minute gap from 17:23:42,637 to 17:24:43,126 in log file, then the time out at the end. How to fix this issue? Thank you
... View more
Labels:
- Labels:
-
Apache HBase