Does Hive Support Concurrent Data Writing to the Same Table or Partition?
Question
Why Does Data Inconsistency Occur When Data Is Concurrently Written to a Hive Table Through an API?
Answer
Hive does not support concurrent data insertion for the same table or partition. As a result, multiple tasks perform operations on the same temporary data directory, and one task moves the data of another task, causing task data exception.
The service logic is modified so that data is inserted to the same table or partition in single thread mode.
For MRS 3.1.3 or later, Hive supports concurrent data write to the same table or partition.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot