Yelp / mrjob

Run MapReduce jobs on Hadoop or Amazon Web Services
http://packages.python.org/mrjob/
Other
2.61k stars 587 forks source link

initializing a MRJob with no args means to read from sys.argv #2125

Closed coyotemarin closed 4 years ago

coyotemarin commented 4 years ago

Initializing a MRJob without arguments or with args=None now makes it read args from sys.argv[1:] (it used to mean the same thing as []). Fixes #2124

This is theoretically a breaking change, but it should probably only affect testing, as MRJobs are usually either initialized by run() or with arguments. This follows up on getting rid of MRJobLauncher (see #2088).

Also removed the deprecated stream_output() (which I thought I had in a previous branch) and references to it.