How Oozie workflow can be parameterised?

0 votes
Can anyone explain how Oozie workflow can be parameterised with an example.
Jun 11 in Big Data Hadoop by Kishor
30 views

1 answer to this question.

0 votes

Hi,

Oozie workflows can be parameterized. The parameters come from a configuration file called as property file

We can run multiple jobs using the same workflow by using multiple .property files.

Suppose we want to change the jobtracker url or change the script name or value of a param​. We can specify a config file (.property) and pass it while running the workflow.​

Following is an example of a property file we will use in our workflow example:

proprties
nameNode = hdfs://rootname
jobTracker = xyz.com:8088
script_name_external = hdfs_path_of_script/external.hive
script_name_orc=hdfs_path_of_script/orc.hive
script_name_copy=hdfs_path_of_script/Copydata.hive
database = database_name

answered Jun 11 by Gitika
• 25,420 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to create a FileSystem object that can be used for reading from and writing to HDFS?

Read operation on HDFS In order to read ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by nitinrawat895
• 10,760 points

edited Mar 21, 2018 by nitinrawat895 398 views
0 votes
1 answer

How to Suspending a Workflow, Coordinator or Bundle Job in Oozie?

Hey, The suspend option suspends a workflow job in RUNNING status. After ...READ MORE

answered Jun 24 in Big Data Hadoop by Gitika
• 25,420 points
161 views
0 votes
1 answer

Can hive queries be executed from script files? And how?

Hey, It is possible by using the source ...READ MORE

answered Jun 25 in Big Data Hadoop by Gitika
• 25,420 points
39 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,760 points
3,544 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,760 points
438 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
18,093 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,280 points
1,313 views
0 votes
1 answer
0 votes
1 answer

How to see a running workflow, coordinate or bundle of job in Oozie?

Hey, You can use this example to see, $ ...READ MORE

answered Jun 17 in Big Data Hadoop by Gitika
• 25,420 points
51 views