Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2445

TestMiniMRWithDFSWithDistinctUsers is very broken

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: security, test
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Todd Lipcon
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development