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
        8 kB
        Todd Lipcon
      2. mapreduce-2445.txt
        11 kB
        Todd Lipcon

        Issue Links

          Activity

          Todd Lipcon created issue -
          Todd Lipcon made changes -
          Field Original Value New Value
          Attachment mapreduce-2445.txt [ 12477071 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Todd Lipcon made changes -
          Link This issue blocks MAPREDUCE-2327 [ MAPREDUCE-2327 ]
          Todd Lipcon made changes -
          Attachment mapreduce-2445.txt [ 12477074 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development