apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Yan <da...@datatorrent.com>
Subject Re: configure filesplitter to read batch data from different folders
Date Tue, 15 Dec 2015 02:57:31 GMT
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 <
VKottapalli@directv.com> 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}&queue={queueName}]
> Regards,
> Venkatesh.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message