[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200041#comment-16200041
 ] 

Prabhu Joseph commented on MAPREDUCE-6951:
------------------------------------------

Thanks [~rohithsharma] for the review.

> Improve exception message when mapreduce.jobhistory.webapp.address is in 
> wrong format
> -------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6951
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6951
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: applicationmaster
>    Affects Versions: 2.7.3
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>             Fix For: 2.9.0, 3.1.0
>
>         Attachments: MAPREDUCE-6951.1.patch, MAPREDUCE-6951.2.patch, 
> MAPREDUCE-6951.patch
>
>
> MapReduce jobs fails with below exception when 
> mapreduce.jobhistory.webapp.address is in wrong format instead of host:port, 
> example user has set to 19888
> {code}
> java.util.NoSuchElementException 
> at com.google.common.base.AbstractIterator.next(AbstractIterator.java:75) 
> at 
> org.apache.hadoop.mapreduce.v2.util.MRWebAppUtil.getApplicationWebURLOnJHSWithoutScheme(MRWebAppUtil.java:130)
>  
> at 
> org.apache.hadoop.mapreduce.v2.util.MRWebAppUtil.getApplicationWebURLOnJHSWithScheme(MRWebAppUtil.java:156)
>  
> at 
> org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator.doUnregistration(RMCommunicator.java:218)
>  
> at 
> org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator.unregister(RMCommunicator.java:188)
>  
> at 
> org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator.serviceStop(RMCommunicator.java:268)
>  
> at 
> org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.serviceStop(RMContainerAllocator.java:297)
>  
> at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221) 
> at 
> org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52) 
> at 
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster$ContainerAllocatorRouter.serviceStop(MRAppMaster.java:888)
>  
> at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221) 
> at 
> org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52) 
> at 
> org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)
>  
> at org.apache.hadoop.service.CompositeService.stop(CompositeService.java:157) 
> at 
> org.apache.hadoop.service.CompositeService.serviceStop(CompositeService.java:131)
>  
> at 
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceStop(MRAppMaster.java:1667)
>  
> at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221) 
> at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.stop(MRAppMaster.java:1168) 
> at 
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster.shutDownJob(MRAppMaster.java:603)
>  
> at 
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster$JobFinishEventHandler$1.run(MRAppMaster.java:651)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to