----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42293/#review114445 -----------------------------------------------------------
scheduler/src/main/java/org/apache/falcon/workflow/engine/OozieDAGEngine.java (line 115) <https://reviews.apache.org/r/42293/#comment175292> There is also getConfiguration() method using switchUser that will be used by all API's. Shouldn't we change over there. - pavan kumar kolamuri On Jan. 14, 2016, 8:53 a.m., Pallavi Rao wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42293/ > ----------------------------------------------------------- > > (Updated Jan. 14, 2016, 8:53 a.m.) > > > Review request for Falcon. > > > Bugs: FALCON-1715 > https://issues.apache.org/jira/browse/FALCON-1715 > > > Repository: falcon-git > > > Description > ------- > > The error is because Falcon server is run as "user1" and entities are being > submitted as "user2" (how it should be) and in native scheduler, Oozie > workflow run is done as current logged in user. This happens to be "user1" > since Falcon process is the one that is running the workflow. This should be > changed to use "user2", the owner of the entity to address the problem. > > > Diffs > ----- > > > scheduler/src/main/java/org/apache/falcon/workflow/engine/OozieDAGEngine.java > 1d0e126 > > Diff: https://reviews.apache.org/r/42293/diff/ > > > Testing > ------- > > Reproduced the problem and ensured it doesn't occur after the patch. > > > Thanks, > > Pallavi Rao > >
