[
https://issues.apache.org/jira/browse/HIVE-29232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18024016#comment-18024016
]
Butao Zhang commented on HIVE-29232:
------------------------------------
Hi [~liukailong123] . Thanks for your reporting this issue. Please note that
JIRA descriptions must be written in English to ensure all developers can
understand them.
One question: are you using the MR engine or the Tez engine? The Hive community
has deprecated the MR engine, and the current primary code maintenance is
focused on the Tez engine module.
Additionally, Apache Hive no longer uses patch files for code contributions.
Please submit your code fixes via PR to [https://github.com/apache/hive/pulls] .
Thanks.
> set hive.exec.parallel=true; 引发同一个sql,并行stage的map.xml文件路径重复,导致任务偶现出错
> --------------------------------------------------------------------
>
> Key: HIVE-29232
> URL: https://issues.apache.org/jira/browse/HIVE-29232
> Project: Hive
> Issue Type: Bug
> Components: Query Planning
> Affects Versions: 2.3.7, 3.1.3, 4.0.1
> Reporter: lkl
> Assignee: lkl
> Priority: Critical
> Fix For: 4.0.1
>
> Attachments: 111.png, fix-1-1.patch, fix-1.patch
>
>
> int pathId=10000
>
> public Path getMRTmpPath() {
> return new Path(getMRScratchDir(), MR_PREFIX + nextPathId());
> }
>
> // 这段代码在并发执行时可能出现返回值一样的情况
> private String nextPathId() {
> return Integer.toString(pathid++);
> }
--
This message was sent by Atlassian Jira
(v8.20.10#820010)