You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Koert Kuipers <ko...@tresata.com> on 2011/09/21 18:31:50 UTC
Can i create/assign to EL variable in oozie workflow?
When any of my oozie workflow actions fail, i run through a bunch of cleanup
nodes. The cleanup nodes delete directories and such on HDFS which might
have been created (or not, depending on how far the workflow got before
failure occured). Now my issue is that the cleanup nodes might also fail,
which will obscure the original error when retrieved with
${wf:errorMessage(wf:lastErrorNode())}. Is there a way to assign
${wf:errorMessage(wf:lastErrorNode())} to a variable before doing cleanup,
and then refer to that variable later on?
Thanks! Koert
Re: Can i create/assign to EL variable in oozie workflow?
Posted by Alejandro Abdelnur <tu...@cloudera.com>.
Koert,
This is not possible.
Thanks.
Alejandro
On Wed, Sep 21, 2011 at 9:31 AM, Koert Kuipers <ko...@tresata.com> wrote:
> When any of my oozie workflow actions fail, i run through a bunch of
> cleanup
> nodes. The cleanup nodes delete directories and such on HDFS which might
> have been created (or not, depending on how far the workflow got before
> failure occured). Now my issue is that the cleanup nodes might also fail,
> which will obscure the original error when retrieved with
> ${wf:errorMessage(wf:lastErrorNode())}. Is there a way to assign
> ${wf:errorMessage(wf:lastErrorNode())} to a variable before doing cleanup,
> and then refer to that variable later on?
> Thanks! Koert
>