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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: