You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "sam liu (JIRA)" <ji...@apache.org> on 2012/11/14 04:10:12 UTC

[jira] [Created] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

sam liu created MAPREDUCE-4798:
----------------------------------

             Summary: TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
                 Key: MAPREDUCE-4798
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobhistoryserver, test
    Affects Versions: 1.0.3
         Environment: Red Hat Ent Server 6.2
            Reporter: sam liu
            Priority: Minor


UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.

The error message is:
'Testcase: testHistoryServerStandalone took 5.376 sec
	Caused an ERROR
Address already in use
java.lang.AssertionError: Address already in use
	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496816#comment-13496816 ] 

sam liu commented on MAPREDUCE-4798:
------------------------------------

Current issue is different from the existing TestJobHistoryServer related JIRAs, because it has a special failure reason: 'java.lang.AssertionError: Address already in use'. BTW, in my testing, this unit test has 1 failure in 6 executions.
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502526#comment-13502526 ] 

sam liu commented on MAPREDUCE-4798:
------------------------------------

Eric, I updated the patch. Thanks!
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Attachment:     (was: MAPREDUCE-4798.patch)
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated MAPREDUCE-4798:
---------------------------------

    Status: Patch Available  (was: Open)

+1 looks good.
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>         Attachments: MAPREDUCE-4798_branch-1.patch, MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Attachment:     (was: MAPREDUCE-4798.patch)
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

       Fix Version/s: 1.0.3
              Labels: patch  (was: )
    Target Version/s: 1.0.3
              Status: Patch Available  (was: Open)

The failures always happen in the step 'String redirectUrl = getRedirectUrl(job.getTrackingURL())' of testHistoryServerStandalone(). In the failure case, when executing into the method getRedirectUrl(job.getTrackingURL()), it always fails to execute 'Assert.assertEquals(status, HttpURLConnection.HTTP_MOVED_TEMP)' because the status value now is 200, but the HttpURLConnection.HTTP_MOVED_TEMP value is 302. In the successful cases., the status value will be 302.
If add a break(sleep 10 sec) between 'int status = client.executeMethod(method)' and 'method.setFollowRedirects(false)', this case will be stable. I tried: 10 executions with 0 failure.
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Status: Open  (was: Patch Available)

Just attached the patch now, but need the review of committer
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500060#comment-13500060 ] 

sam liu commented on MAPREDUCE-4798:
------------------------------------

Hi Eric, according to your suggestions, I updated the patch:
- Indent the code properly
- Set 4 retries of checking the URL redirect method, and add synthetic logic to pause 1, 2, 3, and 4 seconds upon each retry
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated MAPREDUCE-4798:
----------------------------------

    Target Version/s: 1.0.4, 1.1.2  (was: 1.0.4, 1.2.0, 1.1.2)
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.1.2
>
>         Attachments: MAPREDUCE-4798_branch-1.patch, MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Attachment:     (was: MAPREDUCE-4798.patch)
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated MAPREDUCE-4798:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this to 1.x branches.  JobHistoryServer doesn't exist in trunk, hence no action there.
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>         Attachments: MAPREDUCE-4798_branch-1.patch, MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509435#comment-13509435 ] 

sam liu commented on MAPREDUCE-4798:
------------------------------------

Thanks Eric! Pls let me know if there is any further action
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>         Attachments: MAPREDUCE-4798_branch-1.patch, MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Attachment: MAPREDUCE-4798.patch
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Attachment: MAPREDUCE-4798.patch
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498567#comment-13498567 ] 

Eric Yang commented on MAPREDUCE-4798:
--------------------------------------

Could we indent the if block properly?  In addition, could we do more to check the URL redirect method in a while loop with a maximum of 4 retries?  We can add synthetic logic to pause 1, 2, 3, and 4 seconds upon each retry.  Hence, the worst case would be delayed by 10 seconds, but it can recover earlier than 10 seconds in most cases.  This could reduce the amount of time required to execute this test case.
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Attachment: MAPREDUCE-4798.patch
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Attachment:     (was: MAPREDUCE-4798.patch)
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Attachment: MAPREDUCE-4798_branch-1.patch
                MAPREDUCE-4798.patch
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798_branch-1.patch, MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508121#comment-13508121 ] 

Eric Yang commented on MAPREDUCE-4798:
--------------------------------------

Thanks Sam.
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>         Attachments: MAPREDUCE-4798_branch-1.patch, MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500101#comment-13500101 ] 

Eric Yang commented on MAPREDUCE-4798:
--------------------------------------

The indentation still has problem.  In addition, could you generate a patch for branch-1, and trunk?  Thanks
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated MAPREDUCE-4798:
---------------------------------

    Target Version/s: 1.0.4, 1.2.0, 1.1.2  (was: 1.0.3)
       Fix Version/s:     (was: 1.0.3)
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>         Attachments: MAPREDUCE-4798_branch-1.patch, MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated MAPREDUCE-4798:
----------------------------------

    Fix Version/s: 1.1.2
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.1.2
>
>         Attachments: MAPREDUCE-4798_branch-1.patch, MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505329#comment-13505329 ] 

sam liu commented on MAPREDUCE-4798:
------------------------------------

Eric, 
I updated the patch for 1.0.3 and uploaded the patch for branch-1. 
For trunk, there is no TestJobHistoryServer.java, so I did not generate another patch for trunk.
Thanks!
                
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798_branch-1.patch, MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4798) TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'

Posted by "sam liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam liu updated MAPREDUCE-4798:
-------------------------------

    Attachment: MAPREDUCE-4798.patch
    
> TestJobHistoryServer fails some times with 'java.lang.AssertionError: Address already in use'
> ---------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4798
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 1.0.3
>         Environment: Red Hat Ent Server 6.2
>            Reporter: sam liu
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.0.3
>
>         Attachments: MAPREDUCE-4798.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> UT Failure in IHC 1.0.3: org.apache.hadoop.mapred.TestJobHistoryServer. This UT fails sometimes.
> The error message is:
> 'Testcase: testHistoryServerStandalone took 5.376 sec
> 	Caused an ERROR
> Address already in use
> java.lang.AssertionError: Address already in use
> 	at org.apache.hadoop.mapred.TestJobHistoryServer.testHistoryServerStandalone(TestJobHistoryServer.java:113)'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira