You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/04/24 20:57:07 UTC

[jira] [Commented] (HADOOP-14902) LoadGenerator#genFile write close timing is incorrectly calculated

    [ https://issues.apache.org/jira/browse/HADOOP-14902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451039#comment-16451039 ] 

Hudson commented on HADOOP-14902:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HADOOP-14902. LoadGenerator#genFile write close timing is incorrectly (xyao: rev 16c6299088edfffe6d0a1c5d72498551256cfe86)
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/loadGenerator/LoadGenerator.java


> LoadGenerator#genFile write close timing is incorrectly calculated
> ------------------------------------------------------------------
>
>                 Key: HADOOP-14902
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14902
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.4.0
>            Reporter: Jason Lowe
>            Assignee: Hanisha Koneru
>            Priority: Major
>             Fix For: 2.9.0, 2.8.3, 2.7.5, 3.0.0
>
>         Attachments: HADOOP-14902.001.patch, HADOOP-14902.002.patch, HADOOP-14902.003.patch
>
>
> LoadGenerator#genFile's write close timing code looks like the following:
> {code}
>         startTime = Time.now();
>         executionTime[WRITE_CLOSE] += (Time.now() - startTime);
> {code}
> That code will generate a zero (or near zero) write close timing since it isn't actually closing the file in-between timestamp lookups.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org