Hi Sarath,

I haven't tried it by myself but found that
http://svn.apache.org/viewvc/oozie/trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java?revision=1412402&view=markup

Line 619.


Properties conf = oozieClientInstance.createConfiguration();
File file = new File(configFile);
conf.load(new FileReader(file));

Does this work?




On Tue, Jan 8, 2013 at 12:23 AM, Sarath <
[email protected]> wrote:

> Hi,
>
> I'm new to Oozie.
>
> I'm trying to submit a workflow using OozieClient from a java.
> But I'm not finding a way to specify the properties file to be used for
> the submission like we specify using "-config" option from CLI.
>
> How can I specify it in OozieClient?
>
> Thanks & Regards,
> Sarath
>
>

Reply via email to