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

Large-scale Automated Test Framework

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • test
    • None
    • Reviewed
    • herriot

    Description

      Hadoop would benefit from having a large-scale, automated, test-framework. This jira is meant to be a master-jira to track relevant work.


      The proposal is a junit-based, large-scale test framework which would run against real clusters.

      There are several pieces we need to achieve this goal:

      1. A set of utilities we can use in junit-based tests to work with real, large-scale hadoop clusters. E.g. utilities to bring up to deploy, start & stop clusters, bring down tasktrackers, datanodes, entire racks of both etc.
      2. Enhanced control-ability and inspect-ability of the various components in the system e.g. daemons such as namenode, jobtracker should expose their data-structures for query/manipulation etc. Tests would be much more relevant if we could for e.g. query for specific states of the jobtracker, scheduler etc. Clearly these apis should not be part of the production clusters - hence the proposal is to use aspectj to weave these new apis to debug-deployments.

      Related note: we should break up our tests into at least 3 categories:

      1. src/test/unit -> Real unit tests using mock objects (e.g. HDFS-669 & MAPREDUCE-1050).
      2. src/test/integration -> Current junit tests with Mini* clusters etc.
      3. src/test/system -> HADOOP-6332 and it's children

      Attachments

        1. HADOOP-6332-MR.patch
          11 kB
          Konstantin I Boudnik
        2. HADOOP-6332-MR.patch
          13 kB
          Konstantin I Boudnik
        3. HADOOP-6332.patch
          13 kB
          Konstantin I Boudnik
        4. HADOOP-6332.patch
          13 kB
          Konstantin I Boudnik
        5. HADOOP-6332.0.22.patch
          256 kB
          Konstantin I Boudnik
        6. HADOOP-6332.0.22.patch
          253 kB
          Konstantin I Boudnik
        7. HADOOP-6332.0.22.patch
          253 kB
          Konstantin I Boudnik
        8. HADOOP-6332.0.22.patch
          253 kB
          Konstantin I Boudnik
        9. HADOOP-6332.0.22.patch
          254 kB
          Konstantin I Boudnik
        10. HADOOP-6332.0.22.patch
          249 kB
          Konstantin I Boudnik
        11. HADOOP-6332.0.22.patch
          267 kB
          Konstantin I Boudnik
        12. HADOOP-6332.0.22.patch
          267 kB
          Konstantin I Boudnik
        13. 6332-phase2.patch
          358 kB
          Konstantin I Boudnik
        14. 6332-phase2.fix2.patch
          1 kB
          Konstantin I Boudnik
        15. 6332-phase2.fix1.patch
          2 kB
          Konstantin I Boudnik
        16. 6332.patch
          86 kB
          Sharad Agarwal
        17. 6332.patch
          183 kB
          Konstantin I Boudnik
        18. 6332.patch
          183 kB
          Konstantin I Boudnik
        19. 6332_v2.patch
          24 kB
          Sharad Agarwal
        20. 6332_v1.patch
          20 kB
          Sharad Agarwal

        Issue Links

          Activity

            People

              cos Konstantin I Boudnik
              acmurthy Arun Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: