hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith Sharma K S (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6951) Improve exception message when mapreduce.jobhistory.webapp.address is in wrong format
Date Wed, 11 Oct 2017 08:56:00 GMT

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

Rohith Sharma K S updated MAPREDUCE-6951:
-----------------------------------------
    Summary: Improve exception message when mapreduce.jobhistory.webapp.address is in wrong
format  (was: Jobs fails when mapreduce.jobhistory.webapp.address is in wrong format)

> 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
>         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: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message