@Override
    public void setLocation(String location, Job job) throws IOException
    {
        setIOSerializations(job.getConfiguration());
        FileInputFormat.setInputPaths(job, location);
    }
@ Override public void setLocation ( String location , Job job ) throws IOException { setIOSerializations ( job . getConfiguration ( ) ) ; FileInputFormat . setInputPaths ( job , location ) ; }
Communicate to the loader the location of the object(s) being loaded.
The location string passed to the LoadFunc here is the return value of
{@link org.apache.pig.LoadFunc#relativeToAbsolutePath(String, org.apache.hadoop.fs.Path)}. Implementations
should use this method to communicate the location (and any other information)
to its underlying InputFormat through the Job object.
<p/>
This method will be called in the backend multiple times. Implementations
should bear in mind that this method is called multiple times and should
ensure there are no inconsistent side effects due to the multiple calls.

@param location Location as returned by
{@link org.apache.pig.LoadFunc#relativeToAbsolutePath(String, org.apache.hadoop.fs.Path)}
@param job      the {@link org.apache.hadoop.mapreduce.Job} object
store or retrieve earlier stored information from the {@link org.apache.pig.impl.util.UDFContext}
@throws java.io.IOException if the location is not valid.