Member since
06-22-2022
9
Posts
0
Kudos Received
0
Solutions
02-17-2023
11:04 AM
Thank you very much. Regards, PK
... View more
02-17-2023
09:52 AM
Hi, Thank you for the reply, but if I know the role or group, I can easily get the details from above commands, but for a specific DB , if I want to find out what are the roles assigned, is there a way to do it ? Assume, my schema name is schema1, how to find out the roles assigned to this schema ? Thank you. Regards, PK
... View more
02-10-2023
06:17 AM
Hi All, I want to find out what are the roles / groups assigned to a DB / Schema in Hive, how I can get those details ? please suggest. Thank you. Regards, PK
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Sentry
01-16-2023
07:55 AM
Hi All, I need to drop around 5000 tables from a schema - schemaDB, am using below script, tableNameList list contains all the 5000 tables names which I need to drop from the schema, but as the loop calling beeline process each time for each drop, the process to drop all the 5000 tables is taking lot of time, do we have another option where we can acheive it fastly. for tableName in $(cat tableNameList) do beeline -u "jdbc:hive2://server1.com:10000/default;principal=hive/server1.com@.com;" -e "drop table schemaDB.$tableName" >> $drop.log done Thanks praKodi
... View more
Labels:
- Labels:
-
Apache Hive
01-11-2023
04:49 PM
Hi Tarun, This solutions looks fine, but unfortunately we are still using CDH6.3 version only, so we dont use Ranger, so is there any option for CHD 6.3 version ? Thanks, PK
... View more
01-10-2023
07:53 AM
Hi All, Do we have any script to export all the DDL's of the table for a schema in Hive ? we have a schema name - staging_DB and its contains around 2000 tables, now we need to export all the DDL's of this tables to a txt file so that we can run this DDL's in another setup. Please suggest if we have any script or any easy way to do it, thank you. - PK
... View more
Labels:
- Labels:
-
Apache Hive
01-10-2023
07:47 AM
Hi, we need to sync only few schemas, this solution is completely moving all the metastore from one region to another region. Just for one schema which contains 100's of tables, we want to sync the DDL's to another region.
... View more
01-06-2023
12:13 PM
Hi All, Need advice, how we can export all the DDL of one scheme from Hive ( from QA region, a schema with around 2000 tables) to Dev or ACPT region, only DDL's needed to be in sync , not worried about the data, so do we have any option or script to import / export all the DDL's from one region to another region in one go, please suggest, thank you. PK
... View more
Labels:
- Labels:
-
Apache Hive