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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2014/06/19 23:21:25 UTC

[jira] [Updated] (MAPREDUCE-5830) HostUtil.getTaskLogUrl is not backwards binary compatible with 2.3

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

Akira AJISAKA updated MAPREDUCE-5830:
-------------------------------------

    Attachment: MAPREDUCE-5830.patch

Attaching a patch to add {{getTaskLogUrl(String, String, String)}}. The method always throws {{RuntimeException}}, however, I think it's not a bad option because this method is not called at runtime.

> HostUtil.getTaskLogUrl is not backwards binary compatible with 2.3
> ------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5830
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5830
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Jason Lowe
>            Assignee: Akira AJISAKA
>            Priority: Blocker
>         Attachments: MAPREDUCE-5830.patch
>
>
> HostUtil.getTaskLogUrl used to have a signature like this in Hadoop 2.3.0 and earlier:
> public static String getTaskLogUrl(String taskTrackerHostName, String httpPort, String taskAttemptID)
> but now has a signature like this:
> public static String getTaskLogUrl(String scheme, String taskTrackerHostName, String httpPort, String taskAttemptID)
> This breaks source and binary backwards-compatibility.  MapReduce and Hive both have references to this, so their jars compiled against 2.3 or earlier do not work on 2.4.



--
This message was sent by Atlassian JIRA
(v6.2#6252)