Multiple Inputs with MRJob

前端 未结 5 934
失恋的感觉
失恋的感觉 2020-12-29 14:58

I\'m trying to learn to use Yelp\'s Python API for MapReduce, MRJob. Their simple word counter example makes sense, but I\'m curious how one would handle an application invo

5条回答
  •  难免孤独
    2020-12-29 15:47

    The MrJob Fundumentals state:

    You can pass multiple input files, mixed with stdin (using the - character):

    $ python my_job.py input1.txt input2.txt - < input3.txt
    

提交回复
热议问题