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

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.4.0
    • 2.4.1
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: