Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5830

HostUtil.getTaskLogUrl is not backwards binary compatible with 2.3

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. MAPREDUCE-5830.patch
          2 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                jlowe Jason Darrell Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: