This is a quick tip about connecting to Hive or Impala via JDBC.
Accessing hive or impala using their JDBC driver is very convenient. Client programs s like beeline or Jetbrains DataGrip use it as the main way of accessing Hive/Impala and many people also use it in their own written programs.
Things get a little trickier when the cluster is kerberized. In this case you should add few extra parameters to the JDBC connect string.
Read on to see what to do.