Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C946104B9 for ; Fri, 11 Apr 2014 17:00:57 +0000 (UTC) Received: (qmail 98467 invoked by uid 500); 11 Apr 2014 17:00:26 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 98095 invoked by uid 500); 11 Apr 2014 17:00:22 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 98045 invoked by uid 99); 11 Apr 2014 17:00:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 17:00:20 +0000 Date: Fri, 11 Apr 2014 17:00:20 +0000 (UTC) From: "Vinod Kumar Vavilapalli (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-5830) HostUtil.getTaskLogUrl is not backwards binary compatible with 2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)