Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Beeline does not give any response

Re: Beeline does not give any response

@ssanthosh No the cluster is not kerberized. Is it necessary that cluster should be kerberized?

Highlighted

Re: Beeline does not give any response

Contributor

@Anjali Shevadkar It is not mandatory, but the recommended config is to use Ranger in a secure cluster

Highlighted

Re: Beeline does not give any response

I am using 2 clusters cluster1 and cluster2. I have all the process on both. on cluster1 its working fine. But on second cluster there is issue. On second cluster Ranger and hive version is same as on cluster1 only the difference is cluster version is different.

Highlighted

Re: Beeline does not give any response

Explorer

@Anjali Shevadkar If you do the same thing using hive cli instead beeline, can you see the databases? Can other people see something?

In my case I am used to use the connection as below:

beeline -u "jdbc:hive2://zookeeperfqdn1:2181,zookeeperfqdn2:2181,zookeeperfqdn3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2"

Try use ZK FQDN instead hiveserver2 fqdn.

Highlighted

Re: Beeline does not give any response

@Eric Leme If I use Hive cli then I can see all Dbs. But Ranger doesn't support or doesn't work with Hive CLI. Ranger policies only work with Beeline. Is there is any requirement of Ranger that ranger should need a particular HDP version?

Highlighted

Re: Beeline does not give any response

Explorer

@Anjali Shevadkar you are right, that's why I asked you to check hive cli, so, seems to be some configuration in your ranger. Did you try to connect using ZK hosts on your connection string?

I suggest you check this following document, check the permissions on HDFS. Let me know if this works for you.

Make sure the user that you configure as the same as the unix user (or ldap, whatever). Try to configure another user to test.

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_security/content/configure_ranger_authen...

Another important thing, check the permissions on your HDFS, because when you are using ranger you need to change the owner/group and permissions

https://br.hortonworks.com/blog/best-practices-in-hdfs-authorization-with-apache-ranger/
Don't have an account?
Coming from Hortonworks? Activate your account here