You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2014/12/18 21:06:15 UTC

[jira] [Created] (OOZIE-2093) TestSubmitXCommand.testProtoConfStorage fails against Hadoop 2

Robert Kanter created OOZIE-2093:
------------------------------------

             Summary: TestSubmitXCommand.testProtoConfStorage fails against Hadoop 2
                 Key: OOZIE-2093
                 URL: https://issues.apache.org/jira/browse/OOZIE-2093
             Project: Oozie
          Issue Type: Bug
          Components: tests
    Affects Versions: trunk
            Reporter: Robert Kanter
            Assignee: Robert Kanter


{noformat}
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
{noformat}

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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)