This commit is contained in:
Samuel Leung 2012-06-25 17:10:48 -04:00
Родитель 869c992316
Коммит 5f6d837c21
4 изменённых файлов: 22 добавлений и 7 удалений

Просмотреть файл

@ -5,9 +5,10 @@ Inferno Command Line Interface
diana@ubuntu:~$ inferno --help
usage: inferno [-h] [-v] [-s SERVER] [-e SETTINGS_FILE] [-i IMMEDIATE_RULE]
[-y RULES_DIRECTORY] [-f] [-x] [-D] [-d] [-p] [-t SOURCE_TAGS]
[-r RESULT_TAG] [-S DAY_START] [-R DAY_RANGE] [-O DAY_OFFSET]
[-P PARAMETERS] [-l PARAMETER_FILE]
[-y RULES_DIRECTORY] [-q] [-f] [-x] [-D] [-d] [-p]
[-t SOURCE_TAGS] [-r RESULT_TAG] [-S DAY_START] [-R DAY_RANGE]
[-O DAY_OFFSET] [-P PARAMETERS] [-l PARAMETER_FILE]
[-M MAP_RESULTS] [--data-file DATA_FILE]
[--example_rules EXAMPLE_RULES]
Inferno: a python map/reduce library powered by disco.
@ -23,6 +24,9 @@ Inferno Command Line Interface
execute <module>.<rule> immediately and exit
-y RULES_DIRECTORY, --rules-directory RULES_DIRECTORY
directory to search for Inferno rules
-q, --just-query print out the blobs of the source query and generated
SQL, but don't execute the rule (only useful for
debugging rules in immediate mode)
-f, --force force processing of blobs
-x, --start-paused start Inferno without starting any automatic rules
(pause mode)
@ -43,5 +47,11 @@ Inferno Command Line Interface
additional rule parameters (in yaml)
-l PARAMETER_FILE, --parameter-file PARAMETER_FILE
additional rule parameters (in a yaml file)
-M MAP_RESULTS, --map-results MAP_RESULTS
skip map phase - use the supplied job id to get map
results to send to reduce for this rule
--data-file DATA_FILE
arbitrary data file made available to job
--example_rules EXAMPLE_RULES
create example rules

Просмотреть файл

@ -44,6 +44,7 @@ Table of Contents
counting
election
daemon
workflow
keyset
rule
command

Просмотреть файл

@ -122,6 +122,8 @@ Example field_transforms:
parts_postprocess
-----------------
The **parts_postprocess** happen after the **map_function** is called.
key_parts
---------

Просмотреть файл

@ -36,3 +36,5 @@ When you're done, it should look something like the following.
diana@ubuntu:~$ cat /home/diana/.inferno
server: localhost
rules_directory: /home/diana/example_rules
Note: The other place inferno looks for these settings is inside **/etc/inferno/settings.yaml**