hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5830) HostUtil.getTaskLogUrl is not backwards binary compatible with 2.3
Date Fri, 11 Apr 2014 17:00:20 GMT

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

Vinod Kumar Vavilapalli commented on MAPREDUCE-5830:
----------------------------------------------------

HostUtil had been marked Private and Unstable since the beginning of YARN.

Can you paste how Hive is using this? We should see if there is an alternate Public API that
everybody can use.

> 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
>            Priority: Blocker
>
> 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)

Mime
View raw message