You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/01/13 22:17:39 UTC

[jira] [Commented] (OOZIE-2165) Job log fetching can fail in Oozie HA mode when using doAs impersonation

    [ https://issues.apache.org/jira/browse/OOZIE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15097003#comment-15097003 ] 

Hadoop QA commented on OOZIE-2165:
----------------------------------

Testing JIRA OOZIE-2165

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:red}-1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 132
.    {color:red}-1{color} the patch does not add/modify any testcase
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings
{color:green}+1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:green}+1{color} patch compiles
.    {color:green}+1{color} the patch does not seem to introduce new javac warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.    {color:green}+1{color} the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations
.    {color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.    Tests run: 1704
.    Tests failed: 6
.    Tests errors: 1

.    The patch failed the following testcases:

.      testNone(org.apache.oozie.command.coord.TestCoordActionInputCheckXCommand)
.      testForNoDuplicates(org.apache.oozie.event.TestEventGeneration)
.      testSingleRecord(org.apache.oozie.servlet.TestBulkMonitorWebServiceAPI)
.      testPurgeWFWithSubWF1(org.apache.oozie.command.TestPurgeXCommand)
.      testPurgeXCommandFailed(org.apache.oozie.command.TestPurgeXCommand)
.      testSamplers(org.apache.oozie.util.TestMetricsInstrumentation)

{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/2707/

> Job log fetching can fail in Oozie HA mode when using doAs impersonation
> ------------------------------------------------------------------------
>
>                 Key: OOZIE-2165
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2165
>             Project: Oozie
>          Issue Type: Bug
>          Components: HA
>    Affects Versions: 4.1.0
>            Reporter: Romain Rigaux
>            Assignee: Satish Subhashrao Saley
>         Attachments: OOZIE-2165-1.patch, OOZIE-2165-2.patch
>
>
> From https://issues.cloudera.org/browse/HUE-2608
> "Oozie logs in Hue does not work well when Oozie is configured in HA mode. Essentially, DoAs user doesn't work for HA request. This happens because in HA one server will call other server as "tomcat user".
> http://oozie-server:4080/oozie/v2/job/jobid1-oozie_CB-W?show=log&allservers=false&doAs=sumeet&user.name=hue
> will be http://oozie-server:4080/oozie/v2/job/jobid1-oozie_CB-W?show=log&allservers=false&doAs=sumeet&user.name=oozie
> Potential fixes can be to add oozie as proxy user or drop doAs user from server to server call. Since the request is already authenticated, it should ok to call other server with oozie user. http://oozie-server:4080/oozie/v2/job/jobid1-oozie_CB-W?show=log&allservers=false&user.name=oozie"



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