hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-12758) Parallel compilation: Operator::resetId() is not thread-safe
Date Fri, 15 Jan 2016 03:13:39 GMT

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

Sergey Shelukhin updated HIVE-12758:
------------------------------------
    Attachment: HIVE-12758.03.patch

Fixing a couple more spots where the context was null, updating q files

> Parallel compilation: Operator::resetId() is not thread-safe
> ------------------------------------------------------------
>
>                 Key: HIVE-12758
>                 URL: https://issues.apache.org/jira/browse/HIVE-12758
>             Project: Hive
>          Issue Type: Bug
>          Components: Physical Optimizer
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Gopal V
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-12758.01.patch, HIVE-12758.02.patch, HIVE-12758.03.patch, HIVE-12758.03.patch,
HIVE-12758.patch
>
>
> {code}
>   private static AtomicInteger seqId;
> ...
>   public Operator() {
>     this(String.valueOf(seqId.getAndIncrement()));
>   }
>   public static void resetId() {
>     seqId.set(0);
>   }
> {code}
> Potential race-condition.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message