- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
You can't execute queries until the end of the 'atomic' block
- Labels:
-
Apache Hive
-
Apache Impala
Created on 08-06-2019 03:11 PM - edited 08-06-2019 03:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am getting above error from Hive while trying to query a table.
This is coincidentally during an insert operation on the table...
does it mean I cant access the table while a hive insert operation is ongoing...?
table contains lots of rows partitioned by two columns
Created 08-09-2019 01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see any errors posted in the post, can you please share again?
In general, Hive have locking mechanism enabled, so when INSERT is happening on a table, an exclusive lock will be place on the table and any query tries to run against the same table will have to wait, and there is a timeout to control how long the wait will be, and the query will fail with error if timeout exceeded, otherwise it will just keep waiting until lock is released.
So to understand more on the issue, I need to see what error was reported.
Cheers
Eric
Created 08-29-2021 11:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Issue resolved by increasing number of conection and session timeout as a workaround.
Actually need to use dedicated disk for DB's.
Thanks,
Syed
Created 08-24-2021 02:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is hive generating slow response? Is the query slow??
Created 08-29-2021 10:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@syedshakir, Has any of the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information @asish has requested?
Regards,
Vidya Sargur,Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
Created 08-29-2021 11:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Issue resolved by increasing number of conection and session timeout as a workaround.
Actually need to use dedicated disk for DB's.
Thanks,
Syed
Created 08-30-2021 01:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the confirmation @syedshakir. Much appreciated.
Regards,
Vidya Sargur,Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
- « Previous
-
- 1
- 2
- Next »