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:41:42 GMT

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

Martin Illecker commented on HAMA-810:

Hama Pipes does support the following CLI options:

$ hama pipes
bin/hama pipes
  [-input <path>] // Input directory
  [-output <path>] // Output directory
  [-jar <jar file> // jar filename
  [-inputformat <class>] // InputFormat class
  [-bspTasks <number>] // Number of bsp tasks to launch
  [-partitioner <class>] // Java Partitioner
  [-combiner <class>] // Java Combiner class
  [-outputformat <class>] // Java RecordWriter
  [-cachefiles <space separated paths>] // Additional cache files like libs, can be
globbed with wildcards
  [-program <executable>] // executable URI
  [-programArgs <argument>] // arguments for the program
  [-interpreter <executable>] // interpreter, like python or bash
  [-streaming <true|false>] // if supplied, streaming is used instead of pipes
  [-jobname <name>] // sets the name of this job

Generic options supported are
-conf <configuration file>     specify an application configuration file
-D <property=value>            use value for given property
-fs <local|namenode:port>      specify a namenode
-jt <local|jobtracker:port>    specify a job tracker
-files <comma separated list of files>    specify comma separated files to be copied
to the map reduce cluster
-libjars <comma separated list of jars>    specify comma separated jar files to include
in the classpath.
-archives <comma separated list of archives>    specify comma separated archives to
be unarchived on the compute machines.

The general command line syntax is
bin/hadoop command [genericOptions] [commandOptions]

But the -conf and -D generic option must be before the other pipes options:

{code}bin/hama pipes [genericOptions] [pipesOptions]{code}

{code}hama pipes -conf job.xml -input in-dir -output out-dir{code}

> 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

View raw message