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 "Ravi Prakash (Updated) (JIRA)" <ji...@apache.org> on 2012/01/11 17:24:39 UTC

[jira] [Updated] (MAPREDUCE-3649) Job End notification gives an error on calling back.

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

Ravi Prakash updated MAPREDUCE-3649:
------------------------------------

    Attachment: MAPREDUCE-3649.patch

Agreed! We saw the same exception in MAPREDUCE-3484 . I was guessing that the notification did happen, although the server didn't return any content. This would be a good fix though.

+1 to the change

Attaching a patch which I tested, sends out the HTTP notification. I haven't checked if it warns about the no-content, but from the code it seems it shouldn't =D
                
> Job End notification gives an error on calling back.
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-3649
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3649
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3649.patch
>
>
> When calling job end notification for oozie the AM fails with the following trace:
> {noformat}
> 2012-01-09 23:45:41,732 WARN [AsyncDispatcher event handler] org.mortbay.log: Job end notification to http://HOST:11000/oozie/v0/callback?id=0000000-120109234442311-oozie-oozi-W@mr-node&status=SUCCEEDED& failed
> java.net.UnknownServiceException: no content-type
> 	at java.net.URLConnection.getContentHandler(URLConnection.java:1192)
> 	at java.net.URLConnection.getContent(URLConnection.java:689)
> 	at org.apache.hadoop.mapreduce.v2.app.JobEndNotifier.notifyURLOnce(JobEndNotifier.java:95)
> 	at org.apache.hadoop.mapreduce.v2.app.JobEndNotifier.notify(JobEndNotifier.java:139)
> 	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$JobFinishEventHandler.handle(MRAppMaster.java:388)
> 	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$JobFinishEventHandler.handle(MRAppMaster.java:375)
> 	at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:125)
> 	at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:82)
> {noformat}

--
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