- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Authentication of users through beeline
- Labels:
-
Apache Hive
-
Cloudera Manager
Created on ‎07-30-2018 01:42 AM - edited ‎09-16-2022 06:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
We have CDH 5.4 cluster and kerberos authentication is not enabled on cluster and also we don't have sentry service running in our cluster.
We use beeline client and use "!connect jdbc:hive2://hostname:10000" as a connection string, and entered no credentials (username and password) ,but we are still able to see and access all databases and its tables.
I set hive.server2.enable.doAs parameter to false and also using the user which doesn't have sudo access to root user, but still I am able to access all data.
I want only certain user with valid password should be able to connect to beeline and rest users should not be able to connect only.
I believe authentication is the way to do the same or is there any other way to achieve this please?
Can you please help me on this?
Thanks,
Priya
Created ‎08-31-2018 07:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That username and password you entered are not checked by hive.
You should enable kerberos authentication and sentry authorization if you want any security in your cluster.
Created ‎08-31-2018 07:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That username and password you entered are not checked by hive.
You should enable kerberos authentication and sentry authorization if you want any security in your cluster.
