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