You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Alejandro Abdelnur <tu...@cloudera.com> on 2011/10/03 21:11:08 UTC

Re: Can i create/assign to EL variable in oozie workflow?

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
>