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 <[email protected]> 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 
> <[email protected]> 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
>

Reply via email to