01-29-2017 09:22 PM
01-30-2017 07:33 AM - edited 01-30-2017 07:38 AM
Thanks for your quick reply.Looks like a great idea.
I think the psudo code for your suggestion is
If test environment
write property file for test or use test environment variables from consolidated property file.
else If ver environment
write property file for ver or use ver environment variables from consolidated property file.
else prod environment
write property file for prod or use prod environment variables from consolidated property file.
Here are my question on this.
1. Where we are going to run the bash script inside oozie(shell action) or outside oozie using crontab?
2. If we are plasnning to run this inside oozie using shell action in Oozie, to run a shell action we need to send propert file or environment specific information right (Job tracker etc)?
3. If we are planning to run this outside oozie, now my question would be how we are going to pass which environment (test,ver or prod) the bash script is running. How the bash script know the environment?
So it is kind of confusing me. Looking for your valuable suggestion.
Thanks in advance.
02-03-2017 11:49 AM