[jira] [Updated] (HADOOP-16585) [Tool:NNloadGeneratorMR] Multiple threads are using same id for creating file LoadGenerator#write

2019-11-13 Thread Surendra Singh Lilhore (Jira)


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

Surendra Singh Lilhore updated HADOOP-16585:

Fix Version/s: 3.3.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

Thanks [~RANith] for contribution.

Committed to trunk.

>  [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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-16585) [Tool:NNloadGeneratorMR] Multiple threads are using same id for creating file LoadGenerator#write

2019-11-13 Thread Ranith Sardar (Jira)


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

Ranith Sardar updated HADOOP-16585:
---
Attachment: HADOOP-16585.002.patch

>  [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
> 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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-16585) [Tool:NNloadGeneratorMR] Multiple threads are using same id for creating file LoadGenerator#write

2019-11-12 Thread Ranith Sardar (Jira)


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

Ranith Sardar updated HADOOP-16585:
---
Attachment: (was: HADOOP-16585.002.patch)

>  [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
> Attachments: HADOOP-16585.001.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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-16585) [Tool:NNloadGeneratorMR] Multiple threads are using same id for creating file LoadGenerator#write

2019-11-12 Thread Ranith Sardar (Jira)


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

Ranith Sardar updated HADOOP-16585:
---
Attachment: HADOOP-16585.002.patch

>  [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
> 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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-16585) [Tool:NNloadGeneratorMR] Multiple threads are using same id for creating file LoadGenerator#write

2019-09-19 Thread Ranith Sardar (Jira)


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

Ranith Sardar updated HADOOP-16585:
---
Status: Patch Available  (was: Open)

>  [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
> Attachments: HADOOP-16585.001.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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-16585) [Tool:NNloadGeneratorMR] Multiple threads are using same id for creating file LoadGenerator#write

2019-09-19 Thread Ranith Sardar (Jira)


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

Ranith Sardar updated HADOOP-16585:
---
Attachment: HADOOP-16585.001.patch

>  [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
> Attachments: HADOOP-16585.001.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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-16585) [Tool:NNloadGeneratorMR] Multiple threads are using same id for creating file LoadGenerator#write

2019-09-18 Thread Ranith Sardar (Jira)


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

Ranith Sardar updated HADOOP-16585:
---
Description: 
{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}

>  [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
>
> {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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org