Skip to content

Commit

Permalink
update docs to reflect that bootstrap_mrjob is False by default in lo…
Browse files Browse the repository at this point in the history
…cal mode, and ignored in inline mode
  • Loading branch information
David Marin committed Mar 1, 2013
1 parent 299c429 commit 04c4427
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/guides/configs-reference.rst
Expand Up @@ -49,13 +49,14 @@ See :py:meth:`mrjob.runner.MRJobRunner.__init__` for details.

:py:class:`~mrjob.local.LocalMRJobRunner` takes no additional options, but:

* *bootstrap_mrjob* is ``False`` by default
* *cmdenv* is combined with :py:func:`~mrjob.conf.combine_local_envs`
* *python_bin* defaults to the current Python interpreter

In addition, it ignores *hadoop_input_format*, *hadoop_output_format*, *hadoop_streaming_jar*, and *jobconf*

:py:class:`~mrjob.inline.InlineMRJobRunner` works like :py:class:`~mrjob.local.LocalMRJobRunner`, only it also ignores
*cmdenv*, *python_bin*, *setup_cmds*, *setup_scripts*, *steps_python_bin*, *upload_archives*, and *upload_files*.
:py:class:`~mrjob.inline.InlineMRJobRunner` works like :py:class:`~mrjob.local.LocalMRJobRunner`, only it also ignores
*bootstrap_mrjob*, *cmdenv*, *python_bin*, *setup_cmds*, *setup_scripts*, *steps_python_bin*, *upload_archives*, and *upload_files*.


Additional options for :py:class:`~mrjob.emr.EMRJobRunner`
Expand Down
1 change: 1 addition & 0 deletions mrjob/inline.py
Expand Up @@ -78,6 +78,7 @@ def __init__(self, mrjob_cls=None, **kwargs):

# options that we ignore because they involve running subprocesses
IGNORED_LOCAL_OPTS = [
'bootstrap_mrjob',
'python_bin',
'setup_cmds',
'setup_scripts',
Expand Down

0 comments on commit 04c4427

Please sign in to comment.