Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2472

Extra whitespace in mapred.child.java.opts breaks JVM initialization

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.2, 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: task-controller
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When creating taskjvm.sh, we split mapred.child.java.opts on " " and then create a quoted argument for each of those results. So, if you have an extra space anywhere in this configuration, you get an argument '' in the child command line, which the JVM interprets as an empty class name. This results in a ClassNotFoundException and the task cannot run.

      1. mapreduce-2472.0.patch
        4 kB
        Aaron T. Myers
      2. mapreduce-2472.1.patch
        4 kB
        Aaron T. Myers

        Activity

        Todd Lipcon created issue -
        Aaron T. Myers made changes -
        Field Original Value New Value
        Assignee Aaron T. Myers [ atm ]
        Aaron T. Myers made changes -
        Attachment mapreduce-2472.0.patch [ 12478139 ]
        Aaron T. Myers made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Aaron T. Myers made changes -
        Attachment mapreduce-2472.1.patch [ 12478184 ]
        Todd Lipcon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Aaron T. Myers
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development