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

TestMiniMRWithDFSWithDistinctUsers is very broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • security, test
    • None
    • Reviewed

    Description

      This test has a number of issues:

      • it side steps the normal job submission API for no apparent reason, manually writing splits file and uploading submission files. (but forgets to upload the job jar, so the jobs all fail)
      • it doesn't call waitForCompletion, or check job status (so it doesn't notice that the jobs all fail)
      • it doesn't verify in any way that the job output is owned by the user who supposedly ran the job
      • it shuts down DFS before MR

      These all conspire to make it pass, but it isn't actually testing anything.

      Attachments

        1. mapreduce-2445.txt
          8 kB
          Todd Lipcon
        2. mapreduce-2445.txt
          11 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: