How to use a Oozie job property in a Oozie workflow EL function?

Gadam

In my Oozie workflow, this is how a file is passed as a command line argument for a Java action:

<file>${concat(filesPath, 'config.properties')}</file>

While this works fine for a coordinator run, it has a problem when run manually through HUE like in this video -- 'filesPath' does not show up as a parameter in the dialog box that HUE throws up to take parameters.

I tried

 ${concat(${filesPath}, 'config.properties')}  and 
 ${concat(wf:conf(filesPath), 'config.properties')}

First throws syntax error and second returns/concats empty value.

I am basically looking for a way to declare a parameter/job property in an Oozie Workflow EL function so that it works both for a Coordinator run and also for a manual run from HUE (should show a text box to enter value)

Gadam

I ended up doing it like this:

<file>${additionsPath}config.properties</file>   

This would work only with the 'concat' EL function though.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I use Oozie workflow configuration property in the workflow itself?

From Dev

Add CLASSPATH to Oozie workflow job

From Dev

how to use logical operators in OOZIE workflow

From Dev

Is it possible to use two "job.properties" file in a workflow oozie?

From Dev

Oozie Workflow EL function timestamp() does not give seconds

From Dev

how to deploy and run oozie job?

From Dev

Accessing a property entered at the command line in an Oozie job

From Dev

How to pass Hive set parameters in oozie workflow

From Dev

How to add a classpath in a workflow of Oozie on Cloudera

From Dev

Oozie coordinated workflow

From Dev

Oozie coordinated workflow

From Dev

How to re-run oozie failed job

From Dev

How to re-run oozie failed job

From Dev

how to trigger an Oozie workflow when previous workflow completes

From Dev

Oozie job.properties

From Dev

Oozie job.properties

From Dev

The oozie job is not submitting

From Dev

oozie distcp job execution

From Dev

Concurrency in running Oozie workflow: how many and how to throttle

From Dev

MapReduce oozie workflow using Hue

From Dev

Getting current time in oozie workflow

From Dev

Oozie workflow.xml error

From Dev

Getting current time in oozie workflow

From Dev

Oozie Workflow with Pig, Hive and unix

From Dev

Case conversion from oozie workflow

From Dev

How to copy data from HDFS to Local FS using oozie workflow?

From Dev

How to schedule an Oozie workflow that runs a Java program on a HDInsight cluster

From Dev

How can i let the oozie workflow run after killing the coordinator?

From Dev

how to schedule a job in oozie-4.0.1 in hadoop-2.2