MCPcopy Create free account

hub / github.com/Yelp/mrjob / functions

Functions4,468 in github.com/Yelp/mrjob

↓ 1 callersMethod_mapper_output_protocol
(self, step_num, step_map)
mrjob/job.py:1006
↓ 1 callersMethod_master_bootstrap_script_content
Return a list containing the lines of the master bootstrap script. (without trailing newlines)
mrjob/cloud.py:238
↓ 1 callersMethod_master_node_setup_script_content
Create the contents of the master node setup script as an array of strings. (prepare self._master_node_setup_mgr first)
mrjob/emr.py:2297
↓ 1 callersFunction_matches_image_filters
(image, Filters)
tests/mock_boto3/ec2.py:63
↓ 1 callersMethod_md5sum_file
(self, fileobj, block_size=(512 ** 2))
mrjob/fs/local.py:91
↓ 1 callersFunction_no_such_key_error
(key_name, operation_name)
tests/mock_boto3/s3.py:417
↓ 1 callersFunction_normalized_configurations
The API will return an empty Properties list for configurations without properties set, and remove empty sub-configurations
tests/mock_boto3/emr.py:1724
↓ 1 callersMethod_obfuscate_opt
Return value of opt to show in debug printout. Used to obfuscate credentials, etc.
mrjob/runner.py:462
↓ 1 callersMethod_opt_combiners
A dictionary mapping opt name to combiner funciton. This won't necessarily include every opt name (we default to :py:func:`~mrjob.conf
mrjob/runner.py:369
↓ 1 callersMethod_parse_bootstrap
Parse the *bootstrap* option with :py:func:`mrjob.setup.parse_setup_cmd()`.
mrjob/cloud.py:203
↓ 1 callersFunction_parse_cluster_name_suffix
Return a dictionary possibly containing the keys: mrjob_version: version of mrjob that created this cluster pool_hash: hash representing boot
mrjob/pool.py:74
↓ 1 callersMethod_parse_filter
Parse a filter of the form: ``foo = "bar" AND baz.quoted = "\"qux\"" AND ...`` into a map from key to value (This is the in
tests/mock_google/logging.py:88
↓ 1 callersFunction_parse_spark_log_from_log4j_records
Helper for _parse_spark_log()
mrjob/logs/spark.py:41
↓ 1 callersFunction_patch_params
Helper method for _add_extra_cluster_params(). Set *name* in *params* to *value* If *name* has one or more dots in it, recursively set the v
mrjob/cloud.py:552
↓ 1 callersFunction_pick_error_attempt_ids
Pick error attempt IDs from step and history logs, so we know which task logs to look at (most relevant first)
mrjob/logs/errors.py:78
↓ 1 callersMethod_pick_mapper_split_size
(self, input_paths, step_num)
mrjob/sim.py:491
↓ 1 callersFunction_pick_spark_errors
Pick the shortest Spark error with a traceback.
mrjob/logs/errors.py:60
↓ 1 callersMethod_pick_spark_tmp_dir
(self)
mrjob/spark/runner.py:191
↓ 1 callersMethod_pick_ssh_bind_ports
Pick a list of ports to try binding our SSH tunnel to. We will try to bind the same port for any given cluster (Issue #67)
mrjob/cloud.py:535
↓ 1 callersMethod_pool_hash_dict
A dictionary of information that must be matched exactly to join a pooled cluster (other than mrjob version and pool name). The forma
mrjob/emr.py:2742
↓ 1 callersMethod_prepare_for_launch
(self)
mrjob/dataproc.py:475
↓ 1 callersFunction_print_basic_help
Print all help for the parser. Unlike similar functions, this needs a parser so that it can include custom options added by a :py:class:`~mrjo
mrjob/options.py:1651
↓ 1 callersFunction_print_basic_help
(include_deprecated=False)
mrjob/tools/spark_submit.py:571
↓ 1 callersFunction_print_help
(options, runner_class)
mrjob/tools/spark_submit.py:536
↓ 1 callersMethod_print_help
Print help for this job. This will either print runner or basic help. Override to allow other kinds of help.
mrjob/job.py:166
↓ 1 callersFunction_print_help_for_runner
(opt_names, include_deprecated=False)
mrjob/options.py:1642
↓ 1 callersFunction_print_help_for_runner
(runner_class, include_deprecated=False)
mrjob/tools/spark_submit.py:545
↓ 1 callersFunction_print_report
Print final report. :param stats: a dictionary returned by :py:func:`_clusters_to_stats` :param now: the current UTC time, as a :py:class:`da
mrjob/tools/emr/audit_usage.py:625
↓ 1 callersFunction_print_report
Takes in a dictionary of info about a long-running job (see :py:func:`_find_long_running_jobs`), and prints information about it on a single (
mrjob/tools/emr/report_long_jobs.py:224
↓ 1 callersFunction_process_time
(time)
mrjob/tools/emr/s3_tmpwatch.py:106
↓ 1 callersMethod_py_files_setup
A list of additional setup commands to emulate Spark's --py-files option on Hadoop Streaming.
mrjob/bin.py:478
↓ 1 callersMethod_pyspark_setup
Like ``self._setup``, but prepends commands for archive emulation if needed.
mrjob/bin.py:458
↓ 1 callersFunction_quote_filter_value
Put a string in double quotes, escaping double quote characters
mrjob/dataproc.py:1310
↓ 1 callersMethod_read_input
Read from stdin, or one more files, or directories. Yield one line at time. - Resolve globs (``foo_*.gz``). - Decompress ``.g
mrjob/job.py:932
↓ 1 callersMethod_relaunch
(self)
mrjob/emr.py:731
↓ 1 callersFunction_resolve_clear_tags_in_list
Create a list from *items*. If we encounter a :py:class:`ClearedValue`, unwrap it and ignore previous values. Used by ``combine_*()`` functions
mrjob/conf.py:190
↓ 1 callersFunction_resolve_path
Helper for :py:func:`parse_setup_cmd`. Resolve ``~`` (home dir) and environment variables in the given path, and unescape backslashes.
mrjob/setup.py:166
↓ 1 callersFunction_round_up_to_next_second
Round up to the next second because that's how EMR bills.
mrjob/tools/emr/audit_usage.py:811
↓ 1 callersMethod_run
Run the job.
mrjob/runner.py:718
↓ 1 callersMethod_run
(self)
tests/fs/__init__.py:48
↓ 1 callersMethod_run_hadoop
(self, hadoop_args, env, record_callback)
mrjob/hadoop.py:409
↓ 1 callersMethod_run_job_in_hadoop
(self)
mrjob/hadoop.py:366
↓ 1 callersFunction_run_mapper
Run our job's mapper. :param make_mrc_job: an instance of our job, instantiated to be the mapper for the step we wish to
mrjob/spark/harness.py:381
↓ 1 callersMethod_run_mapper_and_combiner_func
Returns a no-args function that runs one mapper, plus the corresponding combiner if there is one.
mrjob/sim.py:251
↓ 1 callersMethod_run_mappers_and_combiners
(self, step_num, map_splits)
mrjob/sim.py:217
↓ 1 callersMethod_run_reducers
(self, step_num, num_reducer_tasks)
mrjob/sim.py:287
↓ 1 callersFunction_run_step
Run the given step on the RDD and return the transformed RDD.
mrjob/spark/harness.py:328
↓ 1 callersMethod_run_step
Run an individual step. You can assume that setup wrapper scripts are created and self._counters has a dictionary for that step already.
mrjob/sim.py:163
↓ 1 callersMethod_run_step_on_spark
Run a Step on Spark. Override this in your subclass. You can assume that setup wrapper scripts are created (if relevant) and that self
mrjob/sim.py:136
↓ 1 callersMethod_run_step_on_spark
(self, step, step_num, last_step_num=None)
mrjob/spark/runner.py:321
↓ 1 callersMethod_run_steps
Wait for every step of the job to complete, one by one.
mrjob/dataproc.py:673
↓ 1 callersMethod_run_steps_on_spark
(self)
mrjob/spark/runner.py:279
↓ 1 callersMethod_run_streaming_step
Run a Hadoop streaming step on simulated Hadoop.
mrjob/sim.py:172
↓ 1 callersFunction_runner_kwargs
(options)
mrjob/tools/emr/audit_usage.py:127
↓ 1 callersFunction_runner_kwargs
(options)
mrjob/tools/emr/terminate_cluster.py:103
↓ 1 callersFunction_runner_kwargs
Options to pass to the EMRJobRunner.
mrjob/tools/emr/s3_tmpwatch.py:97
↓ 1 callersFunction_runner_kwargs
Given the command line options, return the arguments to :py:class:`EMRJobRunner`
mrjob/tools/emr/report_long_jobs.py:105
↓ 1 callersFunction_runner_kwargs
(options)
mrjob/tools/emr/terminate_idle_clusters.py:111
↓ 1 callersMethod_runner_opt_names_for_help
(self)
mrjob/job.py:178
↓ 1 callersMethod_script_args_for_step
(self, step_num, mrc, input_manifest=False)
mrjob/bin.py:209
↓ 1 callersMethod_script_step_mapping
Return a mapping of ``self._step_key(step_num, step_type)`` -> (place in sort order of all *script* steps), for the purposes of choosi
mrjob/job.py:983
↓ 1 callersMethod_service_role
(self)
mrjob/emr.py:1284
↓ 1 callersMethod_set_cloud_tmp_dir
Helper for _fix_s3_tmp_and_log_uri_opts
mrjob/emr.py:613
↓ 1 callersMethod_set_up_ssh_tunnel
(self)
tests/test_emr_pooling.py:2306
↓ 1 callersMethod_setup_cmd_content
Write setup script content to obtain a file lock, run setup commands in a way that doesn't perturb the script, and then release the lo
mrjob/bin.py:601
↓ 1 callersMethod_sh_wrap
Helper for _substep_args() Wrap command in sh -c '...' to allow for pipes, etc. Use *sh_bin* option.
mrjob/bin.py:772
↓ 1 callersMethod_should_cat_output
(self)
mrjob/job.py:665
↓ 1 callersMethod_simulate_progress
(self, project_id, region, cluster_name)
tests/mock_google/dataproc.py:256
↓ 1 callersMethod_simulate_progress
(self, mock_job)
tests/mock_google/dataproc.py:359
↓ 1 callersMethod_sort_bin
The binary to use to sort input. (On Windows, we go straight to sorting in memory.)
mrjob/local.py:216
↓ 1 callersFunction_sort_by_recency
Sort the given list/sequence of dicts containing IDs so that the most recent ones come first (e.g. to find the best error, or the best log fil
mrjob/logs/ids.py:19
↓ 1 callersFunction_sort_lines_in_memory
Sort lines from *input_paths* and output them into *output_path*. If *sort_values* is true, sort by the entire line; otherwise just sort by e
mrjob/sim.py:750
↓ 1 callersMethod_sort_reducer_input
(self, step_num, num_map_tasks)
mrjob/sim.py:660
↓ 1 callersMethod_sort_values_jobconf
Jobconf dictionary to enable sorting by value.
mrjob/runner.py:1337
↓ 1 callersMethod_sort_values_partitioner
Partitioner to use with *sort_values* keyword to the constructor.
mrjob/runner.py:1357
↓ 1 callersMethod_spark_deploy_mode
(self)
mrjob/runner.py:890
↓ 1 callersMethod_spark_harness_path
Where to find the Spark harness.
mrjob/spark/runner.py:476
↓ 1 callersMethod_spark_jar
(self)
mrjob/emr.py:1401
↓ 1 callersMethod_spark_submit_bin_dirs
(self)
mrjob/bin.py:898
↓ 1 callersMethod_split_mapper_input
Take one or more input paths (which may be compressed) and split it to create the input files for the map tasks. Yields "splits", whi
mrjob/sim.py:415
↓ 1 callersMethod_split_reducer_input
Split a single, uncompressed file containing sorted input for the reducer into input files for each reducer task. Yield the paths of
mrjob/sim.py:510
↓ 1 callersMethod_ssh_add_bin
(self)
mrjob/emr.py:848
↓ 1 callersMethod_ssh_add_key
Add ``self._ec2_key_pair_file`` to the ssh agent with ``ssh-add``.
mrjob/fs/ssh.py:149
↓ 1 callersMethod_ssh_cmd_args
Return an ssh command that would run the given command on the given *address*. Address consists of one or most hosts, joined by '!' (
mrjob/fs/ssh.py:68
↓ 1 callersMethod_ssh_hadoop_bin
(self)
mrjob/emr.py:911
↓ 1 callersMethod_ssh_launch_wait_secs
Wait this long after launching the SSH process before checking for failure (default 1 second). You may redefine this.
mrjob/cloud.py:399
↓ 1 callersMethod_ssh_local_tunnel_opt
Helper for :py:meth:`_ssh_tunnel_opts`.
mrjob/cloud.py:523
↓ 1 callersMethod_ssh_tunnel_args
Redefine this in your subclass. You will probably want to call :py:meth:`_ssh_tunnel_opts` somewhere in here. Should return the list
mrjob/cloud.py:371
↓ 1 callersFunction_step_matches
(step, step_id=None)
mrjob/tools/diagnose.py:121
↓ 1 callersMethod_step_name
Return something like: ``'mr_your_job Step X of Y'``
mrjob/emr.py:1407
↓ 1 callersMethod_store_cluster_info
Describe our cluster, and cache image_version, hadoop_version, and master_public_dns
mrjob/emr.py:2900
↓ 1 callersMethod_store_master_instance_info
List master instance for our cluster, and cache master_private_ip.
mrjob/emr.py:2928
↓ 1 callersMethod_stream_history_log_dirs
Yield lists of directories (usually, URIs) to search for history logs in. Usually, you'll want to add logging messages (e.g.
mrjob/logs/mixin.py:60
↓ 1 callersMethod_stream_task_log_dirs
Yield lists of directories (usually, URIs) to search for task logs in. Usually, you'll want to add logging messages (e.g. 'Se
mrjob/logs/mixin.py:72
↓ 1 callersMethod_streaming_step_job_kwarg
Returns a map from ``'hadoop_job'`` to a dict representing a hadoop streaming job.
mrjob/dataproc.py:583
↓ 1 callersFunction_strip_hidden
Return a (shallow) copy of the given dict, excluding fields starting with underscore.
tests/mock_boto3/emr.py:1718
↓ 1 callersMethod_submit_job
(self, step_name, job_kwarg)
mrjob/dataproc.py:1232
↓ 1 callersFunction_task_num
In task or attempt IDs, a unique number for the individual task within the map or reduce phase. For example, in task_201601081945_0005_m_
mrjob/logs/ids.py:137
↓ 1 callersMethod_task_stderr_lines
Yield lines from a specific stderr log.
mrjob/dataproc.py:967
↓ 1 callersMethod_task_stderr_paths_glob
(self, task_type, step_num)
mrjob/sim.py:623
← previousnext →1,001–1,100 of 4,468, ranked by callers