Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2093

TestSubmitXCommand.testProtoConfStorage fails against Hadoop 2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 4.2.0
    • Component/s: tests
    • Labels:
      None

      Description

      Running org.apache.oozie.command.wf.TestSubmitXCommand
      Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 209.081 sec <<< FAILURE!
      
      Results :
      
      Failed tests:   testProtoConfStorage(org.apache.oozie.command.wf.TestSubmitXCommand): expected:<3> but was:<2>
      
      Tests run: 9, Failures: 1, Errors: 0, Skipped: 0
      

      Looks like the problem is that at some point, Hadoop 2.x deprecated user.name and replaced it with mapreduce.job.user.name, so both end up in the config and so there's an extra property. (Also, the expected and actual are backwards)

        Attachments

        1. OOZIE-2093.patch
          2 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: