pygenie/jobs/hadoop.py [67:94]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @unicodify
    @add_to_repr('append')
    def property(self, name, value):
        """
        Sets a property for the job.

        Using the name and value passed in, the following will be constructed in
        the command-line when executing:
        '-Dname=value'

        Example:
            >>> job = HadoopJob() \\
            ...     .property('mapred.foo', 'fizz') \\
            ...     .property('mapred.bar', 'buzz')

        Args:
            name (str): The property name.
            value (str): The property value.

        Returns:
            :py:class:`HadoopJob`: self
        """

        self._set_command_option('-D', name, value)

        return self

    @unicodify
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pygenie/jobs/pig.py [145:173]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @unicodify
    @add_to_repr('append')
    def property(self, name, value):
        """
        Sets a property for the job.

        Using the name and value passed in, the following will be constructed for
        the command-line when executing:
        '-Dname=value'

        Example:
            >>> # pig -Dmapred.foo=fizz -Dmapred.bar=buzz
            >>> job = PigJob() \\
            ...     .property('mapred.foo', 'fizz') \\
            ...     .property('mapred.bar', 'buzz')

        Args:
            name (str): The property name.
            value (str): The property value.

        Returns:
            :py:class:`PigJob`: self
        """

        self._set_command_option('-D', name, value)

        return self

    @unicodify
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



