Member since
06-05-2015
11
Posts
1
Kudos Received
0
Solutions
10-08-2015
10:38 AM
I figured this out. Above code does work, however the database state was not as I expected so that's why it was failing. Hopefully above could be useful to someone else doing the same thing, as I found almost nothing online concerning using Hue with Oozie.
... View more
10-06-2015
02:31 PM
Thanks, but are you saying I should be using that statement in place of one of my assignments, and if so, then which one? I'm not quite clear on what you're saying I should change in what I'm doing. Thanks!
... View more
10-06-2015
12:29 PM
I'm having trouble getting date information into my workflow from a coordinator to schedule a Hive query periodically. I'm using the GUI. For Hive: My destination_table has a partition on the 'dt' column of type DATE. The query, which I've of course tested separately without the parameterization: insert into table destination_table partition(dt='${dt}') # note dt is string select * from source where day=${d} # note day, month, year are integers and month=${m} and year=${y} In my worflow, I created four parameters: d=${DAY} m=${MONTH} y=${YEAR} dt=${YEAR}-${MONTH}-${DAY} In my coordinator, under Workflow Parameters, I select DAY, MONTH and YEAR in the picklists, and then have respectively for each: ${coord:formatTime(coord:nominalTime(), 'dd')} ${coord:formatTime(coord:nominalTime(), 'MM')} ${coord:formatTime(coord:nominalTime(), 'yyyy')} I think something's wrong with my workflow/coordinator parameters as the query runs without error, but doesn't result in any inserts. Thanks.
... View more
Labels:
- Labels:
-
Apache Oozie
07-09-2015
10:51 AM
I have the same question. It's still not clear to me whether morphlines natively supports toAvro with nested Records, of if we have to write a custom command...
... View more