[ 
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

Reply via email to