As an action in a workflow, Im writing the output of a Hive SELECT COUNT
command to a text file in our hdfs.
I need to make a decision in the workflow after this, based on the value in the output.
I'm using HUE to construct this workflow.
What I need to know is:
I've tried my best to piece together other answers to similar questions but there's a few blank spaces I hope to fill in.
I'll be so grateful for any guidance! Thanks!
I would go for the Java path and capture-output
. Oozie supports the Kerberos delegation using credentials (https://oozie.apache.org/docs/4.2.0/DG_ActionAuthentication.html) so you should not need to authenticate within Java; just use a standard JDBC connection