Member since
11-11-2019
634
Posts
33
Kudos Received
27
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 256 | 10-09-2025 12:29 AM | |
| 4762 | 02-19-2025 09:43 PM | |
| 2122 | 02-28-2023 09:32 PM | |
| 3995 | 02-27-2023 03:33 AM | |
| 26004 | 12-24-2022 05:56 AM |
01-18-2023
01:00 AM
If you want to delete all the tables in a database in one go DROP DATABASE database_name CASCADE;
... View more
01-18-2023
12:52 AM
hi @prakodi You can use below string 5000 times beeline -u "jdbc:hive2://server1.com:10000/default;principal=hive/server1.com@.com;" -e "drop table schemaDB.$tableName1" -e "drop table schemaDB.$tableName2" -e " "drop table schemaDB.$tableName3" ................ >> $drop.log Please mark this as RESOLVED,if your queries are answered.
... View more
12-24-2022
05:56 AM
2 Kudos
@wert_1311 In CDP hive.server2.tez.initialize.default.sessions is set to true by default, that means when Hiveserver2 starts then applucation master also starts. By defalt the number of AM is 1, so the parallelism does not exists,one Tez job has to wait until other is finished. Navigate to CM ==> Hive on Tez ==> COnfigs ==> Safety valve for Hiveserver2 hive-site.xml Add hive.server2.tez.initialize.default.sessions= false Restart and check Please accept as SOlution, if the action plan has worked.
... View more
12-23-2022
07:04 AM
@reca Do you have Ranger enabled? You can check in Ranger audits.
... View more
12-20-2022
07:12 AM
@kvbigdata The canary test fails when HMS is busy ? Is it intermittent and does it fix by its own ?
... View more
12-13-2022
06:25 AM
@raghu9raghavend I think I caught the issue, you are using binary and proving httppath jdbc:hive2://ZK1:2181,ZK2:2181,ZK3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveServer2;transportMode=binary;httpPath=cliservice; Please check,if below set to http or binary hive.server2.transport.mode Change the url: http: jdbc:hive2://ZK1:2181,ZK2:2181,ZK3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;transportMode=http;httpPath=cliservice; binary: jdbc:hive2://ZK1:2181,ZK2:2181,ZK3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 Change hiveSever2 ==> hiveserver2
... View more
12-05-2022
06:17 AM
Please "Accept as solution" , if this has worked
... View more
12-05-2022
06:17 AM
@Elbehwash 1. Please navigate to CM ==> Hive on tez ==> COnfiguration ==> Hiveserver2 safety valve for hive-site.xml 2. Add hive.server2.tez.initialize.default.sessions = false; 3. restart and check
... View more
12-04-2022
11:04 PM
@Mars001 I see you are using EXTERNAL jdbc driver. COuld you please try with beeline and provide below if this fails: 1. query and queryID 2. hiveserver2 logs 3. Output of show create table <tablename>;
... View more
11-25-2022
07:37 AM
Please find the difference between hive.tez.container.size and tez.task.resource.mb hive.tez.container.size This property specifies tez container size. Usually value of this property should be the same as or a small multiple (1 or 2 times that) of YARN container size yarn.scheduler.minimum-allocation-mb and should not exceed value of yarn.scheduler.maximum-allocation-mb. As a general rule don't put value higher than memory per processor as you want 1 processor per container and you want to spun up multiple containers. You can find very detailed answer and a great architecture diagram on Hortonworks community answer here tez.task.resource.memory.mb Amount of memory used by launched task in TEZ container. tez.task.resource.memory.mb should be set < hive.tez.container.size This will be recalculated. Run the job without setting.
... View more