Chiranjeevi,

You can keep the properties file in hdfs with proper read permissions and
have the utility class load the file for properties. The file path and name
can become the launch property of the operators using the utility.

Regards,
Ashwin.

On Nov 14, 2016 3:52 AM, "chiranjeevi vasupilli" <[email protected]>
wrote:

> Hi team,
>
> Problem statement: We are setting the DB properties file in side  the jar,
>  We are unable to use the same jar in different environments.
>
> In my application,  we are using one java utility class which intern will
> connect to Database to get some dates.The utility class will take the
> connection properties from resource folder of application. And this utility
> class we are using in most of our operators to get this dates and process
> further.
>
> expectation: we would like to take DB properties file in out side of  jar
> and pass the connection details dynamically.
>
> Thanks for your quick response for this issue.
>
> Thanks
> Chiranjeevi V
>

Reply via email to