Returns an array of args to pass to the job.

def args(self):
        """
        Returns an array of args to pass to the job.
        """
        arglist = []
        for k, v in six.iteritems(self.requires_hadoop()):
            arglist.append('--' + k)
            arglist.extend([t.output().path for t in flatten(v)])
        arglist.extend(['--output', self.output()])
        arglist.extend(self.job_args())
        return arglist