[ https://issues.apache.org/jira/browse/HIVE-19203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499950#comment-16499950 ]
Hive QA commented on HIVE-19203: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12926020/HIVE-19203.1.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 14452 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.metastore.client.TestRuntimeStats.testCleanup[Embedded] (batchId=209) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/11492/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11492/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11492/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12926020 - PreCommit-HIVE-Build > Thread-Safety Issue in HiveMetaStore > ------------------------------------ > > Key: HIVE-19203 > URL: https://issues.apache.org/jira/browse/HIVE-19203 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 3.0.0 > Reporter: BELUGA BEHR > Assignee: Alice Fan > Priority: Minor > Attachments: HIVE-19203.1.patch > > > [https://github.com/apache/hive/blob/550d1e1196b7c801c572092db974a459aac6c249/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L345-L351] > {code:java} > private static int nextSerialNum = 0; > private static ThreadLocal<Integer> threadLocalId = new > ThreadLocal<Integer>() { > @Override > protected Integer initialValue() { > return nextSerialNum++; > } > };{code} > > {{nextSerialNum}} needs to be an atomic value. -- This message was sent by Atlassian JIRA (v7.6.3#76005)