[
https://issues.apache.org/jira/browse/HADOOP-16585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973671#comment-16973671
]
Hudson commented on HADOOP-16585:
---------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #17639 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/17639/])
HADOOP-16585. [Tool:NNloadGeneratorMR] Multiple threads are using same
(surendralilhore: rev 73a386ab761948aa1ae229855e47634897ca984e)
* (edit)
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/loadGenerator/LoadGenerator.java
> [Tool:NNloadGeneratorMR] Multiple threads are using same id for creating
> file LoadGenerator#write
> ---------------------------------------------------------------------------------------------------
>
> Key: HADOOP-16585
> URL: https://issues.apache.org/jira/browse/HADOOP-16585
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Ranith Sardar
> Assignee: Ranith Sardar
> Priority: Major
> Fix For: 3.3.0
>
> Attachments: HADOOP-16585.001.patch, HADOOP-16585.002.patch
>
>
> {code:java}
> // id would be same for multiple file, so it may occur file not found
> exception
> private void write() throws IOException {
> String dirName = dirs.get(r.nextInt(dirs.size()));
> Path file = new Path(dirName, hostname+id);
> ....
> fc.delete(file, true);
> ..
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]