hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Illecker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-810) Specifying configuration file, or configuration variables with -D option in Command line
Date Tue, 15 Oct 2013 07:23:41 GMT

    [ https://issues.apache.org/jira/browse/HAMA-810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794956#comment-13794956
] 

Martin Illecker commented on HAMA-810:
--------------------------------------

The Submitter should already support these CLI options.
Both options are parsed by using the org.apache.hadoop.util.GenericOptionsParser[1] in [2].

1)     -conf <configuration file>     specify a configuration file
2)     -D <property=value>            use value for given property

[1] http://hadoop.apache.org/docs/stable/api/org/apache/hadoop/util/GenericOptionsParser.html
[2] https://github.com/apache/hama/blob/trunk/core/src/main/java/org/apache/hama/pipes/Submitter.java#L410-414

> Specifying configuration file, or configuration variables with -D option in Command line
> ----------------------------------------------------------------------------------------
>
>                 Key: HAMA-810
>                 URL: https://issues.apache.org/jira/browse/HAMA-810
>             Project: Hama
>          Issue Type: New Feature
>          Components: pipes
>            Reporter: Edward J. Yoon
>            Assignee: Martin Illecker
>             Fix For: 0.7.0
>
>
> Add CLI options
> 1) -conf configuration_file
> 2) -Dproperty=value



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message