Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Yelp/mrjob
/ functions
Functions
4,468 in github.com/Yelp/mrjob
⨍
Functions
4,468
◇
Types & classes
673
↳
Endpoints
1
Method
_dumps
(self, value)
mrjob/protocol.py:194
Method
_dumps
(self, value)
mrjob/protocol.py:242
Method
_dumps
(self, value)
mrjob/protocol.py:309
Method
_dumps
(self, value)
mrjob/protocol.py:481
Method
_error
(message)
tests/mock_boto3/emr.py:262
Method
_fix_opt
Check sh_bin
mrjob/bin.py:145
Method
_fix_opt
Fix and check various EMR-specific options
mrjob/emr.py:518
Method
_fix_opts
(self, opts, source=None)
mrjob/cloud.py:136
Method
_fs
(self)
tests/mock_google/storage.py:200
Method
_has_hadoop_streaming_steps
(self)
mrjob/spark/runner.py:494
Method
_has_spark_steps
Treat streaming steps as Spark steps.
mrjob/spark/runner.py:489
Method
_interpolate_spark_script_path
(self, path)
mrjob/emr.py:1380
Method
_invoke_task_func
Just run tasks in the same process.
mrjob/inline.py:101
Method
_invoke_task_func
(self, task_type, step_num, task_num)
mrjob/local.py:110
Function
_invoke_task_in_subprocess
A pickleable function that invokes a task in a subprocess.
mrjob/local.py:262
Function
_is_permanent_boto3_error
Used to disable S3Filesystem when boto3 is installed but credentials aren't set up.
mrjob/fs/s3.py:354
Function
_is_permanent_google_error
(self, ex)
mrjob/fs/gcs.py:328
Function
_is_probably_task_error
Used to identify task errors.
mrjob/logs/errors.py:95
Function
_is_retriable_client_error
Is the exception from a boto3 client retriable?
mrjob/aws.py:234
Method
_jar_step_hadoop_jar_step
(self, step_num)
mrjob/emr.py:1360
Method
_kill_ssh_tunnel
(self)
tests/test_emr_pooling.py:2315
Method
_launch_ssh_proc
(self, args)
mrjob/dataproc.py:1272
Method
_loads
(self, value)
mrjob/protocol.py:127
Method
_loads
(self, value)
mrjob/protocol.py:166
Method
_loads
(self, value)
mrjob/protocol.py:189
Method
_loads
(self, value)
mrjob/protocol.py:237
Method
_loads
(self, value)
mrjob/protocol.py:306
Method
_loads
(self, value)
mrjob/protocol.py:477
Method
_log_cause_of_error
Just tell what file we were reading from (since they'll see the stacktrace from the actual exception)
mrjob/inline.py:186
Method
_log_cause_of_error
(self, ex)
mrjob/local.py:168
Method
_log_counters
Utility for logging counters (if any) for a step.
mrjob/logs/mixin.py:277
Function
_log_parsing_task_log
(log_path)
mrjob/logs/mixin.py:49
Function
_log_record_from_hadoop
Log log4j record parsed from hadoop stderr.
mrjob/hadoop.py:605
Method
_manifest_download_commands
(self)
mrjob/hadoop.py:534
Method
_manifest_download_commands
(self)
mrjob/emr.py:2265
Method
_manifest_download_commands
(self)
mrjob/dataproc.py:1257
Method
_match
(path_num)
tests/logs/test_wrap.py:212
Function
_match_sort_key
sort key which treats empty timestamp as most recent
mrjob/logs/step.py:116
Function
_mock_context_mgr
(m, return_value)
tests/test_job.py:81
Method
_mock_print
(s='')
tests/tools/test_spark_submit.py:91
Method
_mock_print_message
(self_, message, file=None)
tests/tools/test_spark_submit.py:85
Method
_mock_runner_class
(runner_alias)
tests/tools/test_spark_submit.py:59
Method
_mock_ssh_run
(address, cmd_args)
tests/test_emr_pooling.py:1999
Function
_mrboss
(args)
mrjob/cmd.py:90
Method
_obfuscate_opt
Obfuscate AWS credentials.
mrjob/emr.py:557
Method
_opt_combiners
Combine *cmdenv* with :py:func:`~mrjob.conf.combine_local_envs`
mrjob/sim.py:101
Method
_overwrite_lock
(_)
tests/test_pool.py:242
Function
_path_glob_to_parsed_gcs_uri
(path_glob)
mrjob/fs/gcs.py:41
Function
_pickle_safe
Call no-args function *func*, returning *None* and ensuring that any exception raised is pickleable.
mrjob/local.py:282
Function
_pool_tags
Return a dict with "hidden" tags to add to the given cluster.
mrjob/pool.py:50
Method
_py_files
Patch in :py:attr:`_job_script_zip_path`, if running streaming steps.
mrjob/spark/runner.py:267
Method
_read_input
(self)
tests/mr_stdin_only.py:33
Function
_report_long_jobs
(args)
mrjob/cmd.py:97
Method
_run
(self)
mrjob/hadoop.py:324
Method
_run
(self)
mrjob/sim.py:144
Method
_run
(self)
mrjob/emr.py:703
Method
_run
(self)
mrjob/dataproc.py:467
Method
_run
(self)
mrjob/spark/runner.py:185
Function
_run_mapper_and_combiner
Helper for :py:meth:`SimMRJobRunner._run_mapper_and_combiner_func`.
mrjob/sim.py:716
Method
_run_multiple
Use multiprocessing to run in parallel.
mrjob/local.py:143
Method
_run_step_on_spark
Set up a fake working directory and environment, and call the Spark method.
mrjob/inline.py:150
Method
_run_step_on_spark
(self, step, step_num)
mrjob/local.py:120
Function
_run_task
Set up filehandles and call *invoke_task()*. Helper for :py:meth:`SimMRJobRunner._run_task_func`.
mrjob/sim.py:733
Function
_s3_tmpwatch
(args)
mrjob/cmd.py:103
Method
_sort_input_func
Try sorting with the :command:`sort` binary before falling back to in-memory sort.
mrjob/local.py:205
Function
_sort_lines_with_sort_bin
Sort lines the given *input_paths* into *output_path*, using *sort_bin*. If there is a problem, fall back to in-memory sort. This is a helper
mrjob/local.py:295
Method
_spark_driver_has_own_wd
(self)
mrjob/inline.py:196
Method
_spark_driver_has_own_wd
Does the spark driver have a working directory different from the one *spark-submit* was run in? (Only true in cluster mode.)
mrjob/runner.py:893
Method
_spark_executors_have_own_wd
(self)
mrjob/inline.py:193
Method
_spark_harness_path
(self)
tests/spark/test_harness.py:115
Method
_spark_master
(self)
mrjob/hadoop.py:461
Method
_spark_script_args
Generate spark harness args for streaming steps (and handle other spark step types the usual way).
mrjob/spark/runner.py:375
Method
_spark_script_path
For streaming steps, return the path of the harness script (and handle other spark step types the usual way).
mrjob/spark/runner.py:365
Method
_spark_step_hadoop_jar_step
(self, step_num)
mrjob/emr.py:1375
Function
_spark_submit
(args)
mrjob/cmd.py:109
Method
_ssh_launch_wait_secs
Wait 20 seconds because gcloud has to update project metadata (unless we were going to check the cluster sooner anyway).
mrjob/dataproc.py:1280
Method
_ssh_tunnel_args
(self, bind_port)
mrjob/emr.py:887
Method
_ssh_tunnel_args
(self, bind_port)
mrjob/dataproc.py:1285
Method
_ssh_tunnel_config
(self)
mrjob/dataproc.py:1269
Function
_step_sort_key
Sort by timestamp and step
mrjob/logs/ids.py:80
Method
_step_type_uses_pyspark
Treat streaming steps as Spark steps that use Python.
mrjob/spark/runner.py:503
Method
_stream_history_log_dirs
Yield lists of directories to look for the history log in.
mrjob/hadoop.py:543
Method
_stream_task_log_dirs
Yield lists of directories to look for the task logs in.
mrjob/hadoop.py:554
Method
_streaming_step_hadoop_jar_step
(self, step_num)
mrjob/emr.py:1352
Function
_terminate_cluster
(args)
mrjob/cmd.py:121
Method
_terminate_cluster
(_)
tests/test_pool.py:289
Function
_terminate_idle_clusters
(args)
mrjob/cmd.py:115
Method
_test_one_line
(self)
tests/examples/test_mr_sparkaboom.py:37
Method
_wd_mirror
(self)
mrjob/inline.py:199
Method
_write_script_lines
Write text to the given file, using local line endings.
mrjob/sim.py:245
Method
_yield_none
(self, *args, **kwargs)
tests/test_job.py:473
Method
_yield_none
(self, *args, **kwargs)
tests/test_job.py:1044
Method
addInPlace
(self, value1, value2)
mrjob/spark/harness.py:132
Method
add_other_steps
(runner, n)
tests/test_emr.py:4343
Method
add_worker
Add a mocked worker to the cluster. Caller is responsible for setting runner._opts['num_ec2_instances'] to the correct number.
tests/mock_boto3/case.py:183
Method
ago
(**kwargs)
tests/tools/emr/test_terminate_idle_clusters.py:59
Method
alarm_handler
(*args, **kwargs)
tests/test_bin.py:726
Method
all
(self)
tests/mock_boto3/s3.py:245
Method
api_client
(self)
mrjob/dataproc.py:399
Method
api_client
(self)
mrjob/fs/gcs.py:91
← previous
next →
1,401–1,500 of 4,468, ranked by callers