[jira] [Updated] (HADOOP-14752) TestCopyFromLocal#testCopyFromLocalWithThreads is fleaky

2017-08-09 Thread Andras Bokor (JIRA)

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

Andras Bokor updated HADOOP-14752:
--
Status: Patch Available  (was: Open)

> TestCopyFromLocal#testCopyFromLocalWithThreads is fleaky
> 
>
> Key: HADOOP-14752
> URL: https://issues.apache.org/jira/browse/HADOOP-14752
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: test
>Reporter: Andras Bokor
>Assignee: Andras Bokor
> Attachments: HADOOP-14752.01.patch
>
>
> In the test, we find out the number of threads using a random generator. When 
> the random number is 0/1 we call copyFromLocal with one thread that means 
> executor will not be used so the number of completed tasks will not equal the 
> number of generated files but zero.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (HADOOP-14752) TestCopyFromLocal#testCopyFromLocalWithThreads is fleaky

2017-08-09 Thread Andras Bokor (JIRA)

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

Andras Bokor updated HADOOP-14752:
--
Attachment: HADOOP-14752.01.patch

Added some additional improvements other than the test fix:
* assertEquals was called with wrong parameter order
* NAME field is needed for displaying warnings

> TestCopyFromLocal#testCopyFromLocalWithThreads is fleaky
> 
>
> Key: HADOOP-14752
> URL: https://issues.apache.org/jira/browse/HADOOP-14752
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: test
>Reporter: Andras Bokor
>Assignee: Andras Bokor
> Attachments: HADOOP-14752.01.patch
>
>
> In the test, we find out the number of threads using a random generator. When 
> the random number is 0/1 we call copyFromLocal with one thread that means 
> executor will not be used so the number of completed tasks will not equal the 
> number of generated files but zero.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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