You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chaiyong Ragkhitwetsagul (JIRA)" <ji...@apache.org> on 2018/03/11 16:49:00 UTC
[jira] [Created] (HIVE-18929) The method humanReadableInt in
HiveStringUtils.java has a race condition.
Chaiyong Ragkhitwetsagul created HIVE-18929:
-----------------------------------------------
Summary: The method humanReadableInt in HiveStringUtils.java has a race condition.
Key: HIVE-18929
URL: https://issues.apache.org/jira/browse/HIVE-18929
Project: Hive
Issue Type: Bug
Components: API
Affects Versions: 2.3.2
Reporter: Chaiyong Ragkhitwetsagul
Hi. I found that the {{humanReadableInt(long number)}} method in the hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java file contains code which has a race condition as shown in Hadoop (issue tracking ID HADOOP-9252: https://issues.apache.org/jira/browse/HADOOP-9252). The fix can also be seen in the Hadoop code base.
I couldn't find a call to the method anywhere else in the code. But it might be worth to fix.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)