[ https://issues.apache.org/jira/browse/OOZIE-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476498#comment-13476498 ]
Robert Kanter commented on OOZIE-1024: -------------------------------------- Also, to test the change, I built Oozie and ran the ooziedb.sh script; it worked normally. > ooziedb.sh script should keep OOZIE_CONFIG, OOZIE_LOG, and OOZIE_DATA if > previously set > --------------------------------------------------------------------------------------- > > Key: OOZIE-1024 > URL: https://issues.apache.org/jira/browse/OOZIE-1024 > Project: Oozie > Issue Type: Bug > Components: scripts > Affects Versions: trunk > Reporter: Robert Kanter > Assignee: Robert Kanter > Fix For: trunk > > Attachments: OOZIE-1024.patch > > > If the environment already contains any/some/all of OOZIE_CONFIG, OOZIE_LOG, > and OOZIE_DATA then the scripts that rely on oozie-sys.sh to set these and > other variables will keep those previously set values. ooziedb.sh doesn't > source oozie-sys.sh and instead hardcodes those three env vars so they are > always overwritten; we should allow them to be set beforehand like the other > scripts. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira