- Community Home
- >
- Software
- >
- HPE Ezmeral Software platform
- >
- transaction manager does not support explicit lock...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 12:55 AM
02-13-2025 12:55 AM
0: jdbc:hive2://invr88maprdes04.informatica.c> lock table HiveLocking_simpleTgt EXCLUSIVE;
INFO : Compiling command(queryId=mapr_20250212142653_01a3694c-1b87-4bd0-bb05-cc600d29d499): lock table HiveLocking_simpleTgt EXCLUSIVE
INFO : Semantic Analysis Completed (retrial = false)
INFO : Returning Hive schema: Schema(fieldSchemas:null, properties:null)
INFO : Completed compiling command(queryId=mapr_20250212142653_01a3694c-1b87-4bd0-bb05-cc600d29d499); Time taken: 0.22 seconds
INFO : Executing command(queryId=mapr_20250212142653_01a3694c-1b87-4bd0-bb05-cc600d29d499): lock table HiveLocking_simpleTgt EXCLUSIVE
INFO : Starting task [Stage-0:DDL] in serial mode
ERROR : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Current transaction manager does not support explicit lock requests. Transaction manager: org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
in the hive-site.xml of VM , property “hive.txn.manager” with value "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager”
is not working for exclusive table lock in hive
if we give value as “org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager” , hive queries are getting hung.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 10:02 AM
02-13-2025 10:02 AM
Re: transaction manager does not support explicit lock requests
What is the value of hive.support.concurrency set to in your hive-site.xml configuration?
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 06:53 PM - last edited on 02-16-2025 11:51 PM by Sunitha_Mod
02-13-2025 06:53 PM - last edited on 02-16-2025 11:51 PM by Sunitha_Mod
Re: transaction manager does not support explicit lock requests
<property>
<name>hive.support.concurrency</name>
<value>true</value>
</property>
<property>
<name>hive.txn.manager</name>
<value>org.apache.hadoop.hive.ql.lockmgr.DbTxnManager</value>
</property>
<property>
<name>hive.enforce.bucketing</name>
<value>true</value>
</property>
<property>
<name>hive.exec.dynamic.partition.mode</name>
<value>nonstrict</value>
</property>
<property>
<name>hive.compactor.initiator.on</name>
<value>true</value>
</property>
<property>
<name>hive.compactor.worker.threads</name>
<value>1</value>
</property>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 10:28 PM - last edited on 02-19-2025 10:24 PM by Sunitha_Mod
02-18-2025 10:28 PM - last edited on 02-19-2025 10:24 PM by Sunitha_Mod
Re: transaction manager does not support explicit lock requests
after adding below property beeline queries are getting hung.
<property
<name>hive.txn.manager</name>
<value>org.apache.hadoop.hive.ql.lockmgr.DbTxnManager</value>
</property>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 04:48 AM
02-20-2025 04:48 AM
Re: transaction manager does not support explicit lock requests
please share the solution asap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 10:11 PM
02-20-2025 10:11 PM
Re: transaction manager does not support explicit lock requests
<property>
<name>hive.txn.manager</name>
<value>org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager</value>
</property>
below beeline query is hanging after updaing the above property in hive-site.xml
CREATE EXTERNAL TABLE HiveLocking_simpleTgt_2 (COL_TINYINT TINYINT, COL_SMALLINT SMALLINT, COL_INT INT, COL_BIGINT BIGINT, COL_FLOAT FLOAT, COL_DOUBLE DOUBLE, COL_DECIMAL DECIMAL(4,2), COL_BINARY BINARY, COL_BOOLEAN BOOLEAN, COL_STRING STRING, COL_DATE DATE, COL_TIMESTAMP TIMESTAMP, COL_CHAR CHAR(5), COL_VARCHAR VARCHAR(255),COL_PARTITION_INT INT) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' stored as textfile;
output
jdbc:hive2://invr88maprdes04.informatica.c> CREATE EXTERNAL TABLE HiveLocking_simpleTgt_2 (COL_TINYINT TINYINT, COL_SMALLINT SMALLINT, COL_INT INT, COL_BIGINT BIGINT, COL_FLOAT FLOAT, COL_DOUBLE DOUBLE, COL_DECIMAL DECIMAL(4,2), COL_BINARY BINARY, COL_BOOLEAN BOOLEAN, COL_STRING STRING, COL_DATE DATE, COL_TIMESTAMP TIMESTAMP, COL_CHAR CHAR(5), COL_VARCHAR VARCHAR(255),COL_PARTITION_INT INT) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' stored as textfile;
INFO : Compiling command(queryId=mapr_20250221113719_3c092e4b-783f-4ec5-8cd8-eb40605bf4e1): CREATE EXTERNAL TABLE HiveLocking_simpleTgt_2 (COL_TINYINT TINYINT, COL_SMALLINT SMALLINT, COL_INT INT, COL_BIGINT BIGINT, COL_FLOAT FLOAT, COL_DOUBLE DOUBLE, COL_DECIMAL DECIMAL(4,2), COL_BINARY BINARY, COL_BOOLEAN BOOLEAN, COL_STRING STRING, COL_DATE DATE, COL_TIMESTAMP TIMESTAMP, COL_CHAR CHAR(5), COL_VARCHAR VARCHAR(255),COL_PARTITION_INT INT) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' stored as textfile
INFO : Semantic Analysis Completed (retrial = false)
INFO : Returning Hive schema: Schema(fieldSchemas:null, properties:null)
INFO : Completed compiling command(queryId=mapr_20250221113719_3c092e4b-783f-4ec5-8cd8-eb40605bf4e1); Time taken: 0.104 seconds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2025 10:47 AM
02-21-2025 10:47 AM
Re: transaction manager does not support explicit lock requests
Can you please let me know what is the issue that you are facing here?
Are you just trying to create an external table?
I am given to believe that once you run show locks in the Hive prompt, you are not seeing any locks rt?
Are your tables ACID Enabled and ORC'ed?
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2025 11:59 AM
02-21-2025 11:59 AM
Re: transaction manager does not support explicit lock requests
Please see below for the the transaction management in hive. If you need transaction management DummyTxnManager may not be useful.
========
Default: org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager
Value required for transactions: org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
Client/
HiveServer2
DummyTxnManager replicates pre Hive-0.13 behavior and provides no transactions.
=========
Check the below link to understand which properties to use and how to create tables to enable transaction management.
https://cwiki.apache.org/confluence/display/hive/hive+transactions
Also, as mentioned in previous post check o/p of "show locks" command to see if you have any locks. This will show if any other queries are blocking the query you are running.
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 06:24 AM
02-24-2025 06:24 AM
SolutionHello,
Let us know if you were able to resolve the issue.
If you are satisfied with the answers then kindly click the "Accept As Solution" button for the most helpful response so that it is beneficial to all community members.
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".