michTalebzadeh commented on issue #2387:
URL: https://github.com/apache/iceberg/issues/2387#issuecomment-2843611073

   I have the same error with Hive 4.01 and Oracle 12g as the hive metastore. I 
am getting error
   ```
   0: jdbc:hive2://rhes75:10099/default> CREATE VIEW alayer.joint_accounts_view 
AS SELECT * FROM ilayer.joint_accounts;
   
   ERROR : FAILED: Error in acquiring locks: Error communicating with the 
metastore
   org.apache.hadoop.hive.ql.lockmgr.LockException: Error communicating with 
the metastore
           at 
org.apache.hadoop.hive.ql.lockmgr.DbLockManager.lock(DbLockManager.java:183)
           at 
org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.acquireLocks(DbTxnManager.java:475)
           at 
org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.acquireLocksWithHeartbeatDelay(DbTxnManager.java:509)
           at 
org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.acquireLocks(DbTxnManager.java:296)
           at 
org.apache.hadoop.hive.ql.lockmgr.HiveTxnManagerImpl.acquireLocks(HiveTxnManagerImpl.java:81)
           at 
org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.acquireLocks(DbTxnManager.java:101)
           at 
org.apache.hadoop.hive.ql.DriverTxnHandler.acquireLocksInternal(DriverTxnHandler.java:328)
           at 
org.apache.hadoop.hive.ql.DriverTxnHandler.acquireLocks(DriverTxnHandler.java:232)
           at 
org.apache.hadoop.hive.ql.DriverTxnHandler.acquireLocksIfNeeded(DriverTxnHandler.java:144)
           at org.apache.hadoop.hive.ql.Driver.lockAndRespond(Driver.java:356)
           at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:197)
           at org.apache.hadoop.hive.ql.Driver.run(Driver.java:154)
           at org.apache.hadoop.hive.ql.Driver.run(Driver.java:149)
           at 
org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:185)
           at 
org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:236)
           at 
org.apache.hive.service.cli.operation.SQLOperation.access$500(SQLOperation.java:90)
           at 
org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:336)
           at java.security.AccessController.doPrivileged(Native Method)
           at javax.security.auth.Subject.doAs(Subject.java:422)
           at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1953)
           at 
org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork.run(SQLOperation.java:356)
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   Caused by: org.apache.thrift.TApplicationException: Internal error 
processing lock
   ```
   rebuilding index HL_TXNID_INDEX did not help. Appreciate any thoughts. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to