Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-996

JUnit tests should never depend on anything in conf

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.21.1
    • Component/s: test
    • Labels:
      None

      Description

      Similar to MAPREDUCE-1369 we need to make sure that nothing in conf is used in the unit tests.

      1. HDFS-996.patch
        1 kB
        Konstantin Boudnik

        Issue Links

          Activity

          Konstantin Boudnik created issue -
          Konstantin Boudnik made changes -
          Field Original Value New Value
          Link This issue is a clone of HADOOP-6374 [ HADOOP-6374 ]
          Konstantin Boudnik made changes -
          Project Hadoop Common [ 12310240 ] Hadoop HDFS [ 12310942 ]
          Key HADOOP-6587 HDFS-996
          Affects Version/s 0.21.0 [ 12314046 ]
          Affects Version/s 0.22.0 [ 12314241 ]
          Affects Version/s 0.21.0 [ 12313563 ]
          Affects Version/s 0.22.0 [ 12314296 ]
          Fix Version/s 0.21.0 [ 12313563 ]
          Fix Version/s 0.22.0 [ 12314296 ]
          Component/s test [ 12312916 ]
          Component/s test [ 12311440 ]
          Konstantin Boudnik made changes -
          Summary CLONE -JUnit tests should never depend on anything in conf JUnit tests should never depend on anything in conf
          Hadoop Flags [Reviewed]
          Assignee Anatoli Fomenko [ anatoli.fomenko ]
          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. Similar to MAPREDUCE-1369 we need to make sure that nothing in conf is used in the unit tests.
          Anatoli Fomenko made changes -
          Assignee Anatoli Fomenko [ anatoli.fomenko ]
          Konstantin Boudnik made changes -
          Attachment HDFS-996.patch [ 12467612 ]
          Konstantin Boudnik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.20.1 [ 12314048 ]
          Affects Version/s 0.21.0 [ 12314046 ]
          Affects Version/s 0.22.0 [ 12314241 ]
          Fix Version/s 0.21.1 [ 12315271 ]
          Konstantin Boudnik made changes -
          Assignee Anatoli Fomenko [ anatoli.fomenko ] Konstantin Boudnik [ cos ]
          Konstantin Boudnik made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Konstantin Boudnik
              Reporter:
              Konstantin Boudnik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development