Hey Shekar,

So you have two properties files? One is the Samza job file, and the other
is one with the format you described above?

Several options:

1. Move these properties into the main Samza job file. You'll then have
access to them via the Config object.
2. Put the property file into your .tgz file. You'll then have access to it
relative to the current working directory, from your code.
3. Put it somewhere remote (HDFS, HTTP, etc), and have your job pull it
from there.

Cheers,
Chris

On Mon, Mar 23, 2015 at 4:10 PM, Shekar Tippur <ctip...@gmail.com> wrote:

> I would like to decouple Samza properties with the custom ones (if
> possible).
>
> - Shekar
>
> On Mon, Mar 23, 2015 at 3:12 PM, Shekar Tippur <ctip...@gmail.com> wrote:
>
> > Hello,
> >
> > I have a custom properties file with name value pairs.
> >
> > name1 value1
> > name2 value2
> > name3 value3
> >
> > I want to pass this to Yarn job. What is the best way to achieve this?
> > This works well when we declare locally or thread job.
> >
> > - Shekar
> >
>

Reply via email to