How Oozie workflow can be parameterised

0 votes
Can anyone explain how Oozie workflow can be parameterised with an example.
Jun 12, 2019 in Big Data Hadoop by Kishor
1,456 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 12, 2019 by Gitika
• 65,770 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
• 11,380 points

edited Mar 22, 2018 by nitinrawat895 3,028 views
0 votes
1 answer
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, 2019 in Big Data Hadoop by Gitika
• 65,770 points
2,748 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 26, 2019 in Big Data Hadoop by Gitika
• 65,770 points
976 views
+1 vote
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
• 11,380 points
11,015 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
• 11,380 points
2,528 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,740 views
–1 vote
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,350 points
4,605 views
0 votes
1 answer

How can you Check the xml definition of a Workflow, Coordinator or Bundle Job in Oozie?

Hey, You can use this example so that ...READ MORE

answered Jun 24, 2019 in Big Data Hadoop by Gitika
• 65,770 points
945 views
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 18, 2019 in Big Data Hadoop by Gitika
• 65,770 points
897 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP