[jira] [Updated] (MAPREDUCE-4141) clover integration broken, also mapreduce poms are pulling in clover as a dependency

2012-04-16 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4141:


Status: Patch Available  (was: Open)

> clover integration broken, also mapreduce poms are pulling in clover as a 
> dependency
> 
>
> Key: MAPREDUCE-4141
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4141
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: trunk
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4141.patch
>
>
> Some of the poms are specifying clover as a dependency, rather than 
> exclusively as a plugin.
> Also I tried running with the clover profile on trunk and the build is 
> failing due to some issue with protobufs code generation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4141) clover integration broken, also mapreduce poms are pulling in clover as a dependency

2012-04-16 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4141:


Attachment: MAPREDUCE-4141.patch

need both this patch and HADOOP-8284 to address the issue, please commit both 
at the same time.

I've tested this out with a full build and clover test. It was able to generate 
clover output and view in a browser fine. Fixed the issue with pb changes 
(itself has code gen phase) by pushing clover into process-sources phase - 
which makes more sense anyway. I also tested generating the distro and it gen'd 
that fine as well (w/o including clover jar)

> clover integration broken, also mapreduce poms are pulling in clover as a 
> dependency
> 
>
> Key: MAPREDUCE-4141
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4141
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>Affects Versions: trunk
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4141.patch
>
>
> Some of the poms are specifying clover as a dependency, rather than 
> exclusively as a plugin.
> Also I tried running with the clover profile on trunk and the build is 
> failing due to some issue with protobufs code generation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Status: Patch Available  (was: Open)

> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch, MAPREDUCE-4140.patch, 
> MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Status: Open  (was: Patch Available)

> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch, MAPREDUCE-4140.patch, 
> MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Status: Patch Available  (was: Open)

> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch, MAPREDUCE-4140.patch, 
> MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Attachment: MAPREDUCE-4140.patch

Fixed javadoc warnings.

> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch, MAPREDUCE-4140.patch, 
> MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Status: Open  (was: Patch Available)

> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch, MAPREDUCE-4140.patch, 
> MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Attachment: MAPREDUCE-4140.patch

updated with Tom's feedback

> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch, MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Status: Patch Available  (was: Open)

> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch, MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Status: Open  (was: Patch Available)

> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Attachment: MAPREDUCE-4140.patch

I believe this catches them all. Tested by compiling and running "mvn package 
-Pdist -Dtar -DskipTests -Dmaven.javadoc.skip=false", both sucessfully.


> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-4140) mapreduce classes incorrectly importing "clover.org.apache.*" classes

2012-04-11 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-4140:


Status: Patch Available  (was: Open)

> mapreduce classes incorrectly importing "clover.org.apache.*" classes
> -
>
> Key: MAPREDUCE-4140
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4140
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Attachments: MAPREDUCE-4140.patch
>
>
> A number of classes in mapreduce are importing clover.org.apache.* classes
> e.g. 
> hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/PartialJob.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-3989) cap space usage of default log4j rolling policy (mr specific changes)

2012-03-08 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-3989:


Status: Patch Available  (was: Open)

> cap space usage of default log4j rolling policy (mr specific changes)
> -
>
> Key: MAPREDUCE-3989
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3989
> Project: Hadoop Map/Reduce
>  Issue Type: Improvement
>Reporter: Patrick Hunt
> Attachments: MAPREDUCE-3989.patch
>
>
> see HADOOP-8149 for background on this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-3989) cap space usage of default log4j rolling policy (mr specific changes)

2012-03-08 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-3989:


Attachment: MAPREDUCE-3989.patch

Updated patch with mr only in this patch. I re-verified by running from tarball 
with DEBUG turned on and the maxfilesize set to just 10k.

> cap space usage of default log4j rolling policy (mr specific changes)
> -
>
> Key: MAPREDUCE-3989
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3989
> Project: Hadoop Map/Reduce
>  Issue Type: Improvement
>Reporter: Patrick Hunt
> Attachments: MAPREDUCE-3989.patch
>
>
> see HADOOP-8149 for background on this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-3872) event handling races in ContainerLauncherImpl and TestContainerLauncher

2012-02-23 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-3872:


Attachment: MAPREDUCE-3872.patch

Refreshing the patch. Looks like MAPREDUCE-3634 fixed a number of the issues I 
had originally seen/fixed in this patch.

The latest version of this patch fixes the obvious concurrency bug in updating 
allNodes. This patch is currently tested by the unit tests, I don't see a way 
to trigger the bad case given it's non-deterministic. However by inspection you 
can see the obvious concurrency bug that exists in the current code.

> event handling races in ContainerLauncherImpl and TestContainerLauncher
> ---
>
> Key: MAPREDUCE-3872
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3872
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client, mrv2
>Affects Versions: 0.23.1
>Reporter: Patrick Hunt
> Attachments: MAPREDUCE-3872.patch, MAPREDUCE-3872.patch
>
>
> TestContainerLauncher is failing intermittently for me.
> {noformat}
> junit.framework.AssertionFailedError: Expected:  but was: Expected 22 
> but found 21
>   at junit.framework.Assert.fail(Assert.java:47)
>   at junit.framework.Assert.assertTrue(Assert.java:20)
>   at junit.framework.Assert.assertNull(Assert.java:233)
>   at junit.framework.Assert.assertNull(Assert.java:226)
>   at 
> org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher.testPoolSize(TestContainerLauncher.java:117)
> {noformat}
> Patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-3872) event handling races in ContainerLauncherImpl and TestContainerLauncher

2012-02-16 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-3872:


Description: 
TestContainerLauncher is failing intermittently for me.

{noformat}
junit.framework.AssertionFailedError: Expected:  but was: Expected 22 but 
found 21
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNull(Assert.java:233)
at junit.framework.Assert.assertNull(Assert.java:226)
at 
org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher.testPoolSize(TestContainerLauncher.java:117)
{noformat}

Patch momentarily.

  was:
TestContainerLauncher is failing intermittently for me.

{noformat}


> event handling races in ContainerLauncherImpl and TestContainerLauncher
> ---
>
> Key: MAPREDUCE-3872
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3872
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client
>Affects Versions: 0.23.1
>Reporter: Patrick Hunt
>
> TestContainerLauncher is failing intermittently for me.
> {noformat}
> junit.framework.AssertionFailedError: Expected:  but was: Expected 22 
> but found 21
>   at junit.framework.Assert.fail(Assert.java:47)
>   at junit.framework.Assert.assertTrue(Assert.java:20)
>   at junit.framework.Assert.assertNull(Assert.java:233)
>   at junit.framework.Assert.assertNull(Assert.java:226)
>   at 
> org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher.testPoolSize(TestContainerLauncher.java:117)
> {noformat}
> Patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-3872) event handling races in ContainerLauncherImpl and TestContainerLauncher

2012-02-16 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-3872:


Status: Patch Available  (was: Open)

> event handling races in ContainerLauncherImpl and TestContainerLauncher
> ---
>
> Key: MAPREDUCE-3872
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3872
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client
>Affects Versions: 0.23.1
>Reporter: Patrick Hunt
> Attachments: MAPREDUCE-3872.patch
>
>
> TestContainerLauncher is failing intermittently for me.
> {noformat}
> junit.framework.AssertionFailedError: Expected:  but was: Expected 22 
> but found 21
>   at junit.framework.Assert.fail(Assert.java:47)
>   at junit.framework.Assert.assertTrue(Assert.java:20)
>   at junit.framework.Assert.assertNull(Assert.java:233)
>   at junit.framework.Assert.assertNull(Assert.java:226)
>   at 
> org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher.testPoolSize(TestContainerLauncher.java:117)
> {noformat}
> Patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-3872) event handling races in ContainerLauncherImpl and TestContainerLauncher

2012-02-16 Thread Patrick Hunt (Updated) (JIRA)

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

Patrick Hunt updated MAPREDUCE-3872:


Attachment: MAPREDUCE-3872.patch

This patch fixes three issues:

1) ContainerLauncherImpl had a race in updating "allNodes". This might result 
in the pool size being incorrectly calculated.

2) test had an issues where waitForEvent could run forever

3) there's a race btw eventHandlingThread in ContainerLauncherImpl and the test 
code. In some cases the event would be processed, and the pool size increased, 
before all events had been processed (and allNodes updated with all new hosts). 
I believe this is the result of the test failure I documented in the 
description.

> event handling races in ContainerLauncherImpl and TestContainerLauncher
> ---
>
> Key: MAPREDUCE-3872
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3872
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: client
>Affects Versions: 0.23.1
>Reporter: Patrick Hunt
> Attachments: MAPREDUCE-3872.patch
>
>
> TestContainerLauncher is failing intermittently for me.
> {noformat}
> junit.framework.AssertionFailedError: Expected:  but was: Expected 22 
> but found 21
>   at junit.framework.Assert.fail(Assert.java:47)
>   at junit.framework.Assert.assertTrue(Assert.java:20)
>   at junit.framework.Assert.assertNull(Assert.java:233)
>   at junit.framework.Assert.assertNull(Assert.java:226)
>   at 
> org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher.testPoolSize(TestContainerLauncher.java:117)
> {noformat}
> Patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira