Thanks David.
-----Original Message-----
From: David Yan [mailto:[email protected]]
Sent: Monday, December 14, 2015 6:58 PM
To: [email protected]
Subject: Re: configure filesplitter to read batch data from different folders
Hi Venkatesh,
The POST command you listed actually accepts the following as payload:
{
"{propertyName}" : "{propertyValue}",
...
}
The propertyName can be
"dt.application.app_name.operator.fileSplitter.prop.scanner.files" and the
propertyValue can be "/user/data/date=12-14-2015/ver=6/".
David
On Mon, Dec 14, 2015 at 6:25 PM, Kottapalli, Venkatesh <
[email protected]> wrote:
> Hi,
>
> I am trying to configure filesplitter to read files
> from different directories based on parameters that I wish to provide
> as input to the application?
>
>
> * One way of doing it is to read data from a properties file on
> server into application.java and set those values into filesplitter config.
>
>
> * I am wondering if there is a way to pass arguments to the
> submitted application so that I can set my filesplitter configuration
> dynamically from the below command rather than from properties?
>
>
>
> POST
> /ws/v2/appPackages/{owner}/{packageName}/{packageVersion}/applications
> /{appName}/launch[?config={configName}&originalAppId={originalAppId}&q
> ueue={queueName}]
> Regards,
> Venkatesh.
>