hama-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Illecker <millec...@apache.org>
Subject Re: Setting application configuration for Hama Streaming
Date Tue, 15 Oct 2013 08:18:35 GMT
Maybe we should make the CLI options order more clear.

If you observe any problems using Hama Pipes don't hesitate to contact us.

Thanks!

Martin

2013/10/15 Roman Shapovalov <shapovalov@graphics.cs.msu.su>

> Hi Martin,
>
> > Do you have tried this already?
>
> No, I missed that line in the help string.
> It works now, thank you!
>
> Roman
>
> On Tue, Oct 15, 2013 at 11:53 AM, Martin Illecker <millecker@apache.org>
> wrote:
> > Hi Roman,
> >
> > Hama Pipes does support the -conf and -D option, but maybe there is a
> > problem with the Python wrapper.
> >
> > I have explained the CLI usage in Edward's JIRA ticket [1].
> >
> > Both options -conf and -D are genericOptions and must be specified before
> > other pipesOptions.
> >
> > bin/hama pipes [genericOptions] [pipesOptions]
> >
> > e.g.,
> > hama pipes -conf job.xml <otherOptions>
> > hama pipes -D property1=value1 <otherOptions>
> > hama pipes -D kmeans.max.iterations=1000 <otherOptions>
> >
> > Do you have tried this already?
> >
> > Please submit your full command.
> >
> > Thanks!
> >
> > Martin
> >
> > [1] https://issues.apache.org/jira/browse/HAMA-810
> >
> >
> >
> > 2013/10/15 Roman Shapovalov <shapovalov@graphics.cs.msu.su>
> >
> >> Edward, thanks.
> >>
> >> > Alternatively, I think you can use the program arguments instead of
> >> configuration variables.
> >>
> >> So, for using it within Python wrapper, I should pass the arguments
> >> after the class name in -programArgs and hack the BSPRunner script,
> >> right?
> >>
> >> Regards,
> >> Roman
> >>
> >> On Tue, Oct 15, 2013 at 3:01 AM, Edward J. Yoon <edwardyoon@apache.org>
> >> wrote:
> >> > Hi Roman,
> >> >
> >> > Sorry for inconvenience. I checked current source code[1] and it seems
> >> that there's no way to specify an application configuration variables.
> So,
> >> I filed on JIRA[2].
> >> >
> >> >>   peer.config.get("kmeans.max.iterations")
> >> >
> >> > Alternatively, I think you can use the program arguments instead of
> >> configuration variables.
> >> >
> >> > 1.
> >>
> http://svn.apache.org/repos/asf/hama/trunk/core/src/main/java/org/apache/hama/pipes/Submitter.java
> >> > 2. https://issues.apache.org/jira/browse/HAMA-810
> >> >
> >> > --
> >> > Best Regards, Edward J. Yoon
> >> > @eddieyoon
> >> >
> >> > On Oct 15, 2013, at 12:17 AM, Roman Shapovalov <
> >> shapovalov@graphics.cs.msu.su> wrote:
> >> >
> >> >> Hi all,
> >> >>
> >> >> The k-means example for Hama Streaming contains lines like
> >> >>   peer.config.get("kmeans.max.iterations")
> >> >>
> >> >> How to set such application-specific parameters from outside?
> >> >> I tried to use -D and -conf options for "hama pipes", but they were
> >> >> not recognized.
> >> >>
> >> >> Thanks,
> >> >> Roman
> >> >
> >>
>

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