You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by rk...@apache.org on 2015/07/28 00:30:50 UTC

oozie git commit: OOZIE-2315 TestOozieCLI.testshareLibUpdate_withSecurity fails with Hadoop 2 (rkanter)

Repository: oozie
Updated Branches:
  refs/heads/master 7af4a6dec -> b5c1137ba


OOZIE-2315 TestOozieCLI.testshareLibUpdate_withSecurity fails with Hadoop 2 (rkanter)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/b5c1137b
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/b5c1137b
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/b5c1137b

Branch: refs/heads/master
Commit: b5c1137ba709e7a789b380eadf5b5f4c3c6020df
Parents: 7af4a6d
Author: Robert Kanter <rk...@cloudera.com>
Authored: Mon Jul 27 15:30:46 2015 -0700
Committer: Robert Kanter <rk...@cloudera.com>
Committed: Mon Jul 27 15:30:46 2015 -0700

----------------------------------------------------------------------
 core/src/test/java/org/apache/oozie/client/TestOozieCLI.java | 3 ++-
 release-log.txt                                              | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/b5c1137b/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java b/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java
index 57e3433..54bfc16 100644
--- a/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java
+++ b/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java
@@ -1257,7 +1257,8 @@ public class TestOozieCLI extends DagServletTestCase {
                 HeaderTestingVersionServlet.OOZIE_HEADERS.clear();
 
                 String oozieUrl = getContextURL();
-                String[] args = new String[] { "admin", "-sharelibupdate", "-oozie", oozieUrl };
+                // Need to pass "-auth simple" instead of allowing fallback for Hadoop 2.3.0 - Hadoop 2.6.0 (see OOZIE-2315)
+                String[] args = new String[] { "admin", "-sharelibupdate", "-oozie", oozieUrl, "-auth", "simple" };
                 String out = runOozieCLIAndGetStderr(args);
                 assertEquals("Error: E0503 : E0503: User [test] does not have admin privileges\n", out);
 

http://git-wip-us.apache.org/repos/asf/oozie/blob/b5c1137b/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 3f29fd9..fcf6d9d 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 4.3.0 release (trunk - unreleased)
 
+OOZIE-2315 TestOozieCLI.testshareLibUpdate_withSecurity fails with Hadoop 2 (rkanter)
 OOZIE-2291 Hive2 workflow.xml.security should have "cred" in action tag instead of "hive2" tag (bzhang via rkanter)
 OOZIE-2289 hive-jdbc dependency in core/pom.xml should be compile (bzhang)
 OOZIE-2300 TestAuthFilterAuthOozieClient.testClientAuthTokenCache fails with Hadoop 2.7.0 and later (rkanter)