Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6374

JUnit tests should never depend on anything in conf

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The recent change to mapred-queues.xml that causes many mapreduce tests to break unless you delete conf/mapred-queues.xml out of your build tree is bad. We need to make sure that nothing in conf is used in the unit tests. One potential solution is to copy the templates into build/test/conf and use that instead.

        Attachments

        1. HADOOP-6374.patch
          1 kB
          Anatoli Fomenko

          Issue Links

            Activity

              People

              • Assignee:
                anatoli.fomenko Anatoli Fomenko
                Reporter:
                owen.omalley Owen O'Malley
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: