falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shwetha G S <shweth...@gmail.com>
Subject Re: Passing coord:nominalTime() to Hive workflow does NOT work.... :(
Date Fri, 09 Jan 2015 07:01:02 GMT
The issue is because of the way we add process properties to hive action of
the oozie workflow. Can you create a bug for this so that its tracked?

Meanwhile, the only way to get this to work is by creating oozie workflow
with single hive action and pass the parameter correctly.

-Shwetha

On Wed, Jan 7, 2015 at 7:43 PM, Adam Kawa <kawa.adam@gmail.com> wrote:

> Hi Falconers!
>
> I have a falcon process that submits a hive workflow.
>
> I want to pass "*timestampStop*" property from falcon process to hive
> script:
>
> *<property name="timestampStop"
> value="${coord:formatTime(coord:nominalTime(), 'yyyyMMddHHmmss')}" />*
>
> Unfortunately, my hive script fails due to *"**No function is mapped to the
> name "coord:formatTi**me"*.
>
> When using Oozie workflow (instead of Hive workflow), the property is
> evaluated correctly. However, I don't want to create verbose Oozie workflow
> if just a hive script would be enough.
>
> This functionality is needed for me when the value of *timestamp**Stop* can
> not be extracted from HDFS path or table partition.
>
> Do you have any ideas how I could make it work and/or for simple
> workarounds?
>
> Cheers!
> Adam
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message