MCPcopy Index your code

hub / github.com/Yelp/mrjob / types & classes

Types & classes673 in github.com/Yelp/mrjob

↓ 133 callersClassMRTwoStepJob
tests/mr_two_step_job.py:21
↓ 109 callersClassEMRJobRunner
Runs an :py:class:`~mrjob.job.MRJob` on Amazon Elastic MapReduce. Invoked when you run your job with ``-r emr``. :py:class:`EMRJobRunner` run
mrjob/emr.py:258
↓ 82 callersClassClearedValue
Wrap a value tagged with !clear in mrjob.conf
mrjob/conf.py:92
↓ 74 callersClassMRStep
Represents steps handled by the script containing your job. Used by :py:meth:`MRJob.steps <mrjob.job.MRJob.steps>`. See :ref:`writing-multi-s
mrjob/step.py:162
↓ 72 callersClassMRNullSpark
tests/mr_null_spark.py:21
↓ 55 callersClassMRWordCount
Trivial Job that returns the number of words in each input file
tests/mr_word_count.py:25
↓ 53 callersClassMRJob
The base class for all MapReduce jobs. See :py:meth:`__init__` for details.
mrjob/job.py:85
↓ 31 callersClassInlineMRJobRunner
Runs an :py:class:`~mrjob.job.MRJob` in the same process, so it's easy to attach a debugger. This is the default way to run jobs (we assume y
mrjob/inline.py:36
↓ 30 callersClassDataprocJobRunner
Runs an :py:class:`~mrjob.job.MRJob` on Google Cloud Dataproc. Invoked when you run your job with ``-r dataproc``. :py:class:`DataprocJobRunn
mrjob/dataproc.py:202
↓ 25 callersClassTestJob
tests/test_job.py:1407
↓ 19 callersClassHadoopJobRunner
Runs an :py:class:`~mrjob.job.MRJob` on your Hadoop cluster. Invoked when you run your job with ``-r hadoop``. Input and support files can be
mrjob/hadoop.py:118
↓ 19 callersClassS3Filesystem
Filesystem for Amazon S3 URIs. Typically you will get one of these via ``EMRJobRunner().fs``, composed with :py:class:`~mrjob.fs.ssh.SSHFilesy
mrjob/fs/s3.py:76
↓ 18 callersClassGCSFilesystem
Filesystem for Google Cloud Storage (GCS) URIs :param credentials: an optional :py:class:`google.auth.credentials.Credent
mrjob/fs/gcs.py:56
↓ 18 callersClassMRJobBinRunner
mrjob/bin.py:87
↓ 17 callersClassTextProtocol
UTF-8 encode ``key`` and ``value`` (unicode strings) and join them with a tab character. When reading input, we fall back to latin-1 if we can
mrjob/protocol.py:393
↓ 16 callersClassWorkingDirManager
Represents the working directory of hadoop/Spark tasks (or bootstrap commands in the cloud). To support Hadoop's distributed cache, paths can
mrjob/setup.py:350
↓ 15 callersClassBytesProtocol
Encode ``(key, value)`` (bytestrings) as ``key`` and ``value`` separated by a tab. If ``key`` or ``value`` is ``None``, don't include a tab.
mrjob/protocol.py:349
↓ 15 callersClassMROSWalkJob
Recursively return the name and size of each file in the current dir.
tests/mr_os_walk_job.py:21
↓ 15 callersClassUploadDirManager
Represents a directory on HDFS or S3 where we want to upload local files for consumption by Hadoop. :py:class:`UploadDirManager` tries to giv
mrjob/setup.py:290
↓ 14 callersClassMRJustAJar
tests/mr_just_a_jar.py:22
↓ 14 callersClassMRSparkScript
tests/mr_spark_script.py:22
↓ 13 callersClassJarStep
Represents a running a custom Jar as a step. Accepts the following keyword arguments: :param jar: The local path to the Jar. On EMR, this ca
mrjob/step.py:421
↓ 11 callersClassCompositeFilesystem
Use one of several filesystems depending on the path/URI. This only implements the core :py:class:`~mrjob.fs.base.Filesystem` interface; acce
mrjob/fs/composite.py:24
↓ 11 callersClassMRCmdJob
tests/mr_cmd_job.py:21
↓ 11 callersClassMRFilterJob
tests/mr_filter_job.py:21
↓ 11 callersClassPoint
A simple class to test encoding of objects.
tests/test_protocol.py:49
↓ 11 callersClassStepFailedException
Exception to throw when a step fails. This will automatically be caught and converted to an error message by :py:meth:`mrjob.job.MRJob.run`,
mrjob/step.py:89
↓ 10 callersClassLocalMRJobRunner
Runs an :py:class:`~mrjob.job.MRJob` locally, for testing purposes. Invoked when you run your job with ``-r local``. Unlike :py:class:`~mrjob
mrjob/local.py:69
↓ 10 callersClassMRTwoStepJob
tests/mr_two_step_hadoop_format_job.py:48
↓ 9 callersClassSparkStep
Represents running a Spark step defined in your job. Accepts the following keyword arguments: :param spark: function containing your Spark c
mrjob/step.py:463
↓ 8 callersClassMRGroup
tests/mr_group.py:18
↓ 8 callersClassMRSparkWordcount
mrjob/examples/mr_spark_wordcount.py:23
↓ 8 callersClassMRWordFreqCount
mrjob/examples/mr_word_freq_count.py:23
↓ 8 callersClassReprProtocol
Encode ``(key, value)`` as two reprs separated by a tab. This only works for basic types (we use :py:func:`mrjob.util.safeeval`). .. warning
mrjob/protocol.py:465
↓ 8 callersClassSparkMRJobRunner
Runs a :py:class:`~mrjob.job.MRJob` on your Spark cluster (with or without Hadoop). Invoked when you run your job with ``-r spark``. See :ref
mrjob/spark/runner.py:56
↓ 7 callersClassHadoopFilesystem
Filesystem for URIs accepted by ``hadoop fs``. Typically you will get one of these via ``HadoopJobRunner().fs``, composed with :py:class:`~mrj
mrjob/fs/hadoop.py:51
↓ 7 callersClassLocalFilesystem
Filesystem for local files. Typically you will get one of these via ``MRJobRunner().fs``.
mrjob/fs/local.py:29
↓ 7 callersClassMRCountLinesByFile
mrjob/examples/mr_count_lines_by_file.py:19
↓ 7 callersClassMRCustomJob
tests/test_job.py:87
↓ 7 callersClassMRSparkJar
tests/mr_spark_jar.py:22
↓ 7 callersClassMockClientMeta
Mock out the *meta* field for various boto3 objects.
tests/mock_boto3/util.py:19
↓ 7 callersClassReprValueProtocol
Encode ``value`` as a repr and discard ``key`` (``key`` is read in as None). See :py:class:`ReprProtocol` for details.
mrjob/protocol.py:488
↓ 7 callersClassSparkScriptStep
Represents a running a separate Python script through Spark Accepts the following keyword arguments: :param script: The local path to the Py
mrjob/step.py:535
↓ 6 callersClassMRSortValues
tests/mr_sort_values.py:22
↓ 6 callersClassSparkJarStep
Represents a running a separate Jar through Spark Accepts the following keyword arguments: :param jar: The local path to the Python script t
mrjob/step.py:492
↓ 5 callersClassMRSortAndGroup
tests/mr_sort_and_group.py:18
↓ 5 callersClassMRSparKaboom
mrjob/examples/mr_sparkaboom.py:17
↓ 5 callersClassMRSparkOSWalk
tests/mr_spark_os_walk.py:23
↓ 5 callersClassMRSparkScriptWordcount
mrjob/examples/mr_spark_wordcount_script.py:23
↓ 5 callersClassRetryWrapper
Handle transient errors, with configurable backoff. This class can wrap any object. The wrapped object will behave like the original one, exc
mrjob/retry.py:32
↓ 5 callersClassTextValueProtocol
Attempt to UTF-8 decode line (without trailing newline) into ``value``, falling back to latin-1. (``key`` is always ``None``). Output ``value``
mrjob/protocol.py:423
↓ 4 callersClassBytesValueProtocol
Read line (without trailing newline) directly into ``value`` (``key`` is always ``None``). Output ``value`` (bytes) directly, discarding ``key``.
mrjob/protocol.py:372
↓ 4 callersClassDataprocException
mrjob/dataproc.py:198
↓ 4 callersClassMRBoom
mrjob/examples/mr_boom.py:17
↓ 4 callersClassMRBoringJob
It's a boring job, but somebody had to do it.
tests/test_job.py:118
↓ 4 callersClassMRCountingJob
tests/mr_counting_job.py:21
↓ 4 callersClassMRNoMapper
Maps word count to a sorted list of words with that count.
tests/mr_no_mapper.py:21
↓ 4 callersClassMRNoRunner
Print out ``self.options.runner`` (which should be ``None``) in tasks.
tests/mr_no_runner.py:17
↓ 4 callersClassMRPhoneToURL
Use Common Crawl .wet files to map from phone number to the most likely URL.
mrjob/examples/mr_phone_to_url.py:71
↓ 4 callersClassMRStreamingAndSpark
tests/mr_streaming_and_spark.py:25
↓ 3 callersClassMRHadoopFormatJob
tests/mr_hadoop_format_job.py:21
↓ 3 callersClassMRJarAndStreaming
tests/mr_jar_and_streaming.py:23
↓ 3 callersClassMRRunner
Print out ``self.option.runner`` in tasks.
tests/mr_runner.py:18
↓ 3 callersClassMRSortValuesAndMore
tests/mr_sort_values_and_more.py:19
↓ 3 callersClassMRTestJobConf
tests/mr_test_jobconf.py:39
↓ 3 callersClassMRTextClassifier
mrjob/examples/mr_text_classifier.py:140
↓ 3 callersClassMRWordCountUtility
mrjob/examples/mr_wc.py:21
↓ 3 callersClassMockIAMClient
tests/mock_boto3/iam.py:26
↓ 3 callersClassMockPaginator
Mock botocore paginators. Rather than mocking pagination, markers, etc. in every mock API call, we have our API calls return the full results
tests/mock_boto3/util.py:49
↓ 3 callersClassPickleProtocol
Encode ``(key, value)`` as two string-escaped pickles separated by a tab. We string-escape the pickles to avoid having to deal with stray
mrjob/protocol.py:284
↓ 3 callersClassPickleValueProtocol
Encode ``value`` as a string-escaped pickle and discard ``key`` (``key`` is read in as ``None``). See :py:class:`PickleProtocol` for details.
mrjob/protocol.py:321
↓ 2 callersClassFilesystem
Some simple filesystem operations that are common across the local filesystem, S3, GCS, HDFS, and remote machines via SSH. Different runners
mrjob/fs/base.py:26
↓ 2 callersClassMRCountLinesRight
mrjob/examples/mr_count_lines_right.py:20
↓ 2 callersClassMRCountLinesWrong
mrjob/examples/mr_count_lines_wrong.py:20
↓ 2 callersClassMRGrepJob
mrjob/examples/mr_grep.py:21
↓ 2 callersClassMRIncrementerJob
A terribly silly way to add a positive integer to values.
tests/test_sim.py:43
↓ 2 callersClassMRInitJob
tests/test_job.py:127
↓ 2 callersClassMRJarWithGenericArgs
tests/mr_jar_with_generic_args.py:24
↓ 2 callersClassMRJobOptError
docs/options_extension.py:66
↓ 2 callersClassMRJobWhereAreYou
Output what directory the mrjob library is in.
tests/mr_job_where_are_you.py:30
↓ 2 callersClassMRLogSampler
mrjob/examples/mr_log_sampler.py:32
↓ 2 callersClassMRMostUsedWord
mrjob/examples/mr_most_used_word.py:32
↓ 2 callersClassMRNextWordStats
mrjob/examples/mr_next_word_stats.py:28
↓ 2 callersClassMRSparkMostUsedWord
mrjob/examples/mr_spark_most_used_word.py:30
↓ 2 callersClassMRTowerOfPowers
tests/mr_tower_of_powers.py:28
↓ 2 callersClassMRWordsContainingUFreqCount
mrjob/examples/mr_words_containing_u_freq_count.py:24
↓ 2 callersClassMockS3Bucket
Mock out boto3 bucket
tests/mock_boto3/s3.py:221
↓ 2 callersClassMockS3Client
Mock out boto3 S3 client :param mock_s3_fs: Maps bucket name to a dictionary with the keys *keys* and *location*. *keys* m
tests/mock_boto3/s3.py:31
↓ 2 callersClassNullHandler
mrjob/util.py:44
↓ 2 callersClassSSHFilesystem
Filesystem for remote systems accessed via SSH. Typically you will get one of these via ``EMRJobRunner().fs``, composed with :py:class:`~mrjob
mrjob/fs/ssh.py:35
↓ 2 callersClassoptionlink
temporary node created during doctree-read and replaced with a link during doctree-resolved
docs/options_extension.py:150
↓ 1 callersClassCounterAccumulator
mrjob/spark/harness.py:127
↓ 1 callersClassCustomJob
tests/test_job.py:478
↓ 1 callersClassMRCatsJob
tests/test_runner.py:1021
↓ 1 callersClassMRCountLinesByFilename
tests/mr_count_lines_by_filename.py:22
↓ 1 callersClassMRCustomFileOptionJob
A simple MRJob that uses the input file option.
tests/test_sim.py:161
↓ 1 callersClassMRExit42Job
tests/mr_exit_42_job.py:7
↓ 1 callersClassMRFilePermissionsJob
A way to check file permissions.
tests/test_sim.py:61
↓ 1 callersClassMRGoodFileArgTypeJob
tests/test_job.py:2058
↓ 1 callersClassMRNickNack
mrjob/examples/mr_nick_nack.py:28
next →1–100 of 673, ranked by callers