You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2018/05/02 13:46:00 UTC

[jira] [Updated] (HIVE-19380) Hive Lock Error Message Too Verbose

     [ https://issues.apache.org/jira/browse/HIVE-19380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

BELUGA BEHR updated HIVE-19380:
-------------------------------
    Summary: Hive Lock Error Message Too Verbose  (was: Hive Lock Error Too Verbose)

> Hive Lock Error Message Too Verbose
> -----------------------------------
>
>                 Key: HIVE-19380
>                 URL: https://issues.apache.org/jira/browse/HIVE-19380
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2, Locking
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: BELUGA BEHR
>            Priority: Minor
>
> When a query fails to gain a lock to a table, the following error message appears in beeline.  The error message does not need a stack trace and it would be helpful to know how long it waiting before it gave up.  It should also state exactly which lock it was unable to obtain.
> {code:java}
> ERROR : FAILED: Error in acquiring locks: Locks on the underlying objects cannot be acquired. retry after some time
> org.apache.hadoop.hive.ql.lockmgr.LockException: Locks on the underlying objects cannot be acquired. retry after some time
>         at org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager.acquireLocks(DummyTxnManager.java:171)
>         at org.apache.hadoop.hive.ql.Driver.acquireLocksAndOpenTxn(Driver.java:1205)
>         at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1489)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1285)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1280)
>         at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:236)
>         at org.apache.hive.service.cli.operation.SQLOperation.access$300(SQLOperation.java:89)
>         at org.apache.hive.service.cli.operation.SQLOperation$3$1.run(SQLOperation.java:301)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:415)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1920)
>         at org.apache.hive.service.cli.operation.SQLOperation$3.run(SQLOperation.java:314)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
>  {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)